Lab 4 error during chaincode instantiation
Under Lab 4 on page 27 of the booklet with all the labs when I enter in this command:
peer chaincode instantiate -n ccForAll -v 1.0 -o \
orderer.example.com:7050 -C allarewelcome \
I get this error:
Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error starting container: API error (404): network _basic not found
I believe it is because The COMPOSE_PROJECT_NAME variable is not set and it defaults in a blank string giving us a empty space " " appended to "_basic"
When using the command:
docker network ls
I see a network named "startfiles_basic" but when I try to change the COMPOSE_PROJECT_NAME to startfiles or if I just try to change the entire** CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE** variable in the **docker-compose.yml **file to "startfiles_basic" it is still giving me the same error.
Has anyone else come across this error and if so how were you able to solve it?