Open gnurtcouq opened 2 years ago
Hi,
I run below script to package smart contract:
docker exec -e CHANNEL_NAME=tradechannel -e CC_LANGUAGE=node -e CC_LABEL=trade -e CC_VERSION=v1 trade_cli cli_scripts/chaincode.sh package
There is error as:
OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "cli_scripts/chaincode.sh": stat cli_scripts/chaincode.sh: no such file or directory: unknown
Any idea how to fix this?
Thx in advance,
It means your container doesn't have the cli_scripts/chaincode.sh file (i.e., it wasn't synced) in the expected location.
cli_scripts/chaincode.sh
Hi,
I run below script to package smart contract:
docker exec -e CHANNEL_NAME=tradechannel -e CC_LANGUAGE=node -e CC_LABEL=trade -e CC_VERSION=v1 trade_cli cli_scripts/chaincode.sh package
There is error as:
OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "cli_scripts/chaincode.sh": stat cli_scripts/chaincode.sh: no such file or directory: unknown
Any idea how to fix this?
Thx in advance,