Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

error when install chaincode by fabric #742

Open
Ruk1ng001 opened this issue Jan 26, 2021 · 2 comments
Open

error when install chaincode by fabric #742

Ruk1ng001 opened this issue Jan 26, 2021 · 2 comments

Comments

@Ruk1ng001
Copy link

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?

@michalrybarczyk
Copy link

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

@Ruk1ng001
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants