I built version 2.4 and used test-network to test the network in my Docker for Windows. The chaincode was not successfully deployed, and an error was reported as follows:
`$ ./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go
Using docker and docker-compose
deploying chaincode on channel 'mychannel'
executing with the following
CHANNEL_NAME: mychannel
CC_NAME: basic
CC_SRC_PATH: ../asset-transfer-basic/chaincode-go
CC_SRC_LANGUAGE: go
CC_VERSION: 1.0
CC_SEQUENCE: 1
CC_END_POLICY: NA
CC_COLL_CONFIG: NA
CC_INIT_FCN: NA
DELAY: 3
MAX_RETRY: 5
VERBOSE: false
Vendoring Go dependencies at ../asset-transfer-basic/chaincode-go
/d/Fabric/fabric-samples/asset-transfer-basic/chaincode-go /d/Fabric/fabric-samples/test-network
/d/Fabric/fabric-samples/test-network
Finished vendoring Go dependencies
PACKAGE_ID=basic_1.0:2e20ce421c8037420718c8a3918a1eea76343b7361fffdac454181c54e5736c7
Chaincode is packaged
Installing chaincode on peer0.org1...
Using organization 1
res=1
Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image inspection failed: cannot connect to Docker endpoint
Chaincode installation on peer0.org1 has failed
Deploying chaincode failed
Conan@HaibaraAi MINGW64 /d/Fabric/fabric-samples/test-network
$ ./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go
Using docker and docker-compose
deploying chaincode on channel 'mychannel'
executing with the following
CHANNEL_NAME: mychannel
CC_NAME: basic
CC_SRC_PATH: ../asset-transfer-basic/chaincode-go
CC_SRC_LANGUAGE: go
CC_VERSION: 1.0
CC_SEQUENCE: 1
CC_END_POLICY: NA
CC_COLL_CONFIG: NA
CC_INIT_FCN: NA
DELAY: 3
MAX_RETRY: 5
VERBOSE: false
Vendoring Go dependencies at ../asset-transfer-basic/chaincode-go
/d/Fabric/fabric-samples/asset-transfer-basic/chaincode-go /d/Fabric/fabric-samples/test-network
/d/Fabric/fabric-samples/test-network
Finished vendoring Go dependencies
PACKAGE_ID=basic_1.0:2e20ce421c8037420718c8a3918a1eea76343b7361fffdac454181c54e5736c7
Chaincode is packaged
Installing chaincode on peer0.org1...
Using organization 1
res=1
Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image inspection failed: cannot connect to Docker endpoint
Chaincode installation on peer0.org1 has failed
Deploying chaincode failed
`
Could you give me some help?
I built version 2.4 and used test-network to test the network in my Docker for Windows. The chaincode was not successfully deployed, and an error was reported as follows: `$ ./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go Using docker and docker-compose deploying chaincode on channel 'mychannel' executing with the following
Conan@HaibaraAi MINGW64 /d/Fabric/fabric-samples/test-network $ ./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go Using docker and docker-compose deploying chaincode on channel 'mychannel' executing with the following