Chaincode install fails


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
dial unix /host/var/run/docker.sock: connect: no such file or

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
Is there anything else I should do?

Thank you!

Andrew Coleman

Are you sure your docker daemon is running?