简体   繁体   中英

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM