avalon icon indicating copy to clipboard operation
avalon copied to clipboard

error when install chaincode by fabric

Open Ruk1ng001 opened this issue 4 years ago • 2 comments

I test fabric.When I run

./script/./scripts/start_fabric.sh -u

I get error as follows:

# Run the chaincode install script on cli container ***********
  non-zero return code
  Error: No such container: 94e6ce4dd0_cli

docker image is

CONTAINER ID   IMAGE                              COMMAND                  CREATED          STATUS          PORTS      NAMES
51bec597b16b   hyperledger/fabric-tools:2.0.0     "/bin/sh"                24 minutes ago   Up 24 minutes              fe4e639c2f_cli

why the name not equal?

Ruk1ng001 avatar Jan 26 '21 07:01 Ruk1ng001

The folder you are calling the script from can cause this problem. Minifab generates the network name based on the folder

michalrybarczyk avatar Jan 26 '21 13:01 michalrybarczyk

The folder you are calling the script from can cause this problem. Minifab generates the network name based on the folder

I use this script in main directory of avalon

Ruk1ng001 avatar Jan 27 '21 03:01 Ruk1ng001