./byfn.sh -m up
After running the above command, Connect to the cli docker image initialized and running by invoking
docker exec -it cli /bin/bash
For peer cli to be able run correctly there is a set of environmental variable you have to provide. Basically you need to point to the endorsing peer and to the MSP configuration, setting the MSP ID as well. If you haven't configured those values, there would be an error.