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)上。
发布于 2018-05-16 00:27:13
看来你的同龄人停下来了。你可以尝试使用docker start重新启动它,因为它应该有4 4Gb的可用内存。如果问题仍然存在,建议执行拆卸操作,移除旧的PeerAdmin卡,然后按照控制开发环境https://hyperledger.github.io/composer/latest/installing/development-tools.html中所示的顺序再次运行startFabric
发布于 2018-05-18 19:03:05
我在另一个答案中发现了一个更正。将GODEBUG=netdns=go添加到docker-compose.yml中的peer,orderer,ca,couchdb的环境变量中
再次尝试./startFabric.sh,最后确定。
至少,这对我来说是有效的。
https://stackoverflow.com/questions/50349685
复制相似问题