Date
1 - 2 of 2
Chaincode install fails
indirajith
Hi all,
I am using fabric 2.4 version and when I try to install the chaincode it fails with the following error: ``` 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: Get "http://unix.sock/images/dev-peer1-rs-crw.example.com-dummy_1.0-3433dc267f2a9a8921d94c5586eb2b19f237d64500078ec0a3bdb049f9842527-52f675d7c9e4cb9bc3637f505e6ced0f19b5c169a55c53d9ebd9f0e586f3ad63/json": dial unix /host/var/run/docker.sock: connect: no such file or directory``` Is using cli container mandatory to issue peer lifecycle commands? Even with the cli container I get the errors. I have tried the following: using go version 1.13 using GO111MODULE=on having the following environment variable for peers in docker-compose - CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock - CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE= Is there anything else I should do? Thank you! Regards, Indirajith. |
|
Andrew Coleman
Are you sure your docker daemon is running?
|
|