hyperledger-composer - 使用 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) 上。
解决方案
我在另一个答案中找到了更正。在docker-compose.yml中添加GODEBUG=netdns=go到peer、orderer、ca、couchdb的环境变量
再次尝试 ./startFabric.sh 并最终确定。
至少,这对我有用。
推荐阅读
- python - 如何在python中将二进制矩阵转换为双极矩阵
- ios - 保存后获取与PHAsset相同的NSData
- python-3.6 - xml.etree.ElementTree.ParseError:格式不正确(无效标记):第 1 行,第 0 列
- java - 如何通过类似于 toString() 的方式控制方法的返回数组
- vb.net - 如何在 VB.NET 中从文本框中剪切一个单词
- python-3.x - 使用 python 3 连接到弹性搜索时未定义弹性搜索
- c# - 发送块体只要一个 IEnumerable
在 HttpRequest 中返回新的字符串片段 - loops - 基于“with_items”任务中的输出的条件“changed_when”
- angular - Angular 中的默认主题
- javascript - 使用 ParsleyJS 验证一个表单元素内的两个表单