简体   繁体   English

Hyperledger Fabric 无法下载 Docker 镜像

[英]Hyperledger Fabric cannot download Docker images

I am following this tutorial of Hyperledger Fabric, and when i run the command:我正在关注 Hyperledger Fabric 的这个教程,当我运行命令时:

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

everything is download except the docker images.除 docker 图像外,所有内容均已下载。 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我的 docker 版本是:18.09.7,我使用的是 ubuntu 18.04

Please, try to run it as sudoer.请尝试以 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它应该可以工作,但遵循以下说明可能更清晰: https : //docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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