[英]Hyperledger fabric behave tests failing “cannot connect to Docker endpoint”
使用Hyperledger面料,我运行make behave-deps
然后make behave
,但几个循规蹈矩测试场景失败(“错误启动容器:无法连接到多克终点”) -我将如何去解决这个?
If running the vagrant-based development environment described here , a change was recently made to the Docker port mapping that would manifest itself with these failed tests. 如果运行此处所述的基于无规的开发环境,则最近对Docker端口映射进行了更改,该更改将在这些失败的测试中体现出来。 Reconstruct your development environment with
vagrant destroy
and vagrant up
from the $GOPATH/src/github.com/hyperledger/fabric/devenv
directory. 重建你的开发环境与
vagrant destroy
和vagrant up
从$GOPATH/src/github.com/hyperledger/fabric/devenv
目录。
Typically this problem is encountered when running outside of Vagrant. 通常在Vagrant之外运行时会遇到此问题。
Ensure you can run 确保您可以运行
docker run hello-world
docker运行hello-world
Without sudo 没有须藤
If this fails, this can be resolved by adding he user to the group as in the installation docs 如果失败,可以通过按照安装文档中的方式将其用户添加到组中来解决
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.