Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 Hyperledger 结构,make behave-deps然后我运行make behave,但一些行为测试场景失败(“错误启动容器:无法连接到 Docker 端点”) - 我将如何解决这个问题?
make behave-deps
make behave
如果运行此处描述的基于 vagrant 的开发环境,最近对 Docker 端口映射进行了更改,这将通过这些失败的测试来体现。vagrant destroy使用和vagrant up从$GOPATH/src/github.com/hyperledger/fabric/devenv目录重建您的开发环境。
vagrant destroy
vagrant up
$GOPATH/src/github.com/hyperledger/fabric/devenv
通常在 Vagrant 之外运行时会遇到此问题。
确保您可以运行
码头工人运行你好世界
没有须藤
如果失败,可以通过将用户添加到组中来解决,如安装文档中所示