首页 > 解决方案 > 使用 Hyperledger-Composer 开发者教程的问题

问题描述

超级账本作曲家

我遵循了区块链开发者教程中的步骤: https ://hyperledger.github.io/composer/latest/tutorials/developer-tutorial.html

我的 startFabric.sh 因来自守护进程的错误响应而失败:

Container d2a4df08857333ddc46026fe26376af58116af8d39af2823e222aeebedddb648 is not running

ibm@pradi0514075029:~/fabric-dev-servers$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d2a4df088573 hyperledger/fabric-peer:x86_64-1.1.0 "peer node start" About an hour ago Exited (2) About an hour ago peer0.org1.example.com
0f690b2a6629 hyperledger/fabric-couchdb:x86_64-0.4.6 "tini -- /docker-ent…" About an hour ago Up About an hour 4369/tcp, 9100/tcp, 0.0.0.0:5984->5984/tcp couchdb
8cde7086fd80 hyperledger/fabric-ca:x86_64-1.1.0 "sh -c 'fabric-ca-se…" About an hour ago Up About an hour 0.0.0.0:7054->7054/tcp ca.org1.example.com
4e9dd5b6d33f hyperledger/fabric-orderer:x86_64-1.1.0 "orderer" About an hour ago Up About an hour 0.0.0.0:7050->7050/tcp orderer.example.com

今天似乎我的对等容器已经退出。我在 Ubuntu 16.04.3 LTS (xenial) 上。

标签: hyperledger-composer

解决方案


我在另一个答案中找到了更正。在docker-compose.yml中添加GODEBUG=netdns=go到peer、orderer、ca、couchdb的环境变量

再次尝试 ./startFabric.sh 并最终确定。

至少,这对我有用。


推荐阅读