Bernardo Barateiro
Bernardo Barateiro

Reputation: 79

Hyperledger Fabric cannot download Docker images

I am following this tutorial of Hyperledger Fabric, and when i run the command:

curl -sSL'bit link here' | bash -s

everything is download except the docker images. I got this error:

 ===> List out hyperledger docker images
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.39/images/json: dial unix /var/run/docker.sock: connect: permission denied

My docker version is: 18.09.7 and I am using ubuntu 18.04

Upvotes: 0

Views: 144

Answers (1)

kekomal
kekomal

Reputation: 2200

Please, try to run it as sudoer.

EDIT:

What I mean: Something like:

sudo bash -c "curl -sSL'bit link here' | bash -s"

It should work, but maybe it is cleaner to follow these instructions: https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user

Upvotes: 1

Related Questions