No such container: mysite
intchensc opened this issue · comments
I have changed my spec.yaml
, just setting the netname to "chainoa"
fabric:
cas:
- "ca.org0.example.com"
- "ca.org1.example.com"
peers:
- "peer1.org0.example.com"
- "peer1.org1.example.com"
orderers:
- "orderer1.example.com"
settings:
ca:
FABRIC_LOGGING_SPEC: DEBUG
peer:
FABRIC_LOGGING_SPEC: DEBUG
orderer:
FABRIC_LOGGING_SPEC: DEBUG
goproxy: "https://goproxy.cn,direct"
netname: "chainoa"
when I want to useminifab ccup -n record -l go -v 1.0
to install my chaincode record
It prints blow:
# Preparing for the following operations: *********************
verify options, cc install, cc approve, cc commit, cc initialize, discover, channel query
.......
# Running operation: ******************************************
verify options
.
# Running operation: ******************************************
cc install
.......
# Run the chaincode install script on cli container ***********
non-zero return code
Error: No such container: mysite
# STATS *******************************************************
minifab: ok=34 failed=1
real 0m6.295s
user 0m5.768s
sys 0m0.899s
Just an idea you can go with ---
Delete the docker image minifab from the images and try to execute the commands again !!!
@intchensc, I am facing the same problem with initialization of my chaincode, can you please post it here if you found the solution to the issue you are facing
@intchensc, I am facing the same problem with initialization of my chaincode, can you please post it here if you found the solution to the issue you are facing
hi,I just remove all the docker images and redo the steps,but time has passed too long,I am not sure did it worked or not,maybe I just give up the change and use the default name:)
@intchensc thank you for your reply, so there is no other way then 😢