Hyperledger Fabric安装本地运行时的最后一步出错 [英] Error on last step of Hyperledger Fabric installation of local runtime

查看:63
本文介绍了Hyperledger Fabric安装本地运行时的最后一步出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

按照此处概述的教程和工具进行设置; https://hyperledger.github.io/composer/installing/development-tools. html

Following the tutorial and tool setup as outlined here; https://hyperledger.github.io/composer/installing/development-tools.html

在最后一步,我执行了脚本以下载并安装本地Fabric运行时:

On the very last step, I executed the script to download and install local Fabric runtime:

cd ~/fabric-tools
./downloadFabric.sh

控制台中生成的日志最后包含此错误:

The resulting log in the console contained this error at the very end:

# Pull and tag the latest Hyperledger Fabric base image.
docker pull hyperledger/fabric-peer:$ARCH-1.0.4
Warning: failed to get default registry endpoint from daemon (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.35/info: dial unix /var/run/docker.sock: connect: permission denied). Using system default: https://index.docker.io/v1/
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.35/images/create?fromImage=hyperledger%2Ffabric-peer&tag=x86_64-1.0.4: dial unix /var/run/docker.sock: connect: permission denied

该警告该怎么办?

推荐答案

所以您的问题是Docker问题-而不是Hyperledger Composer问题FYI.我认为这可能对您有所帮助

So your issue is a Docker issue - not a Hyperledger Composer issue FYI. I think this may help you https://techoverflow.net/2017/03/01/solving-docker-permission-denied-while-trying-to-connect-to-the-docker-daemon-socket/

可能是docker安装问题-安装不正确吗?在这里 https://superuser.com/questions/835696/how-解决在ubuntu中的docker-permission问题的问题,其中谈到了在docker组中的问题.否则,您可以在Google上找到答案.

Possibly a docker install issue - didn't install correctly? See here https://superuser.com/questions/835696/how-solve-permission-problems-for-docker-in-ubuntu where it talks about being in the docker group. Or else you can find an answer on Google.

这篇关于Hyperledger Fabric安装本地运行时的最后一步出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆