为某些人运行此实验:http://hyperledger-fabric.readthedocs.io/en/latest/write_first_app.html当startFabric时。脚本运行它得到错误:
错误:显示hyperledger / fabric-orderer:最新未找到。
之前我运行此实验室时没有看到此错误。不得不进入/ fabric-samples / basic-network目录下的docker-composer.yml文件,并为所有地方附加一个版本,如下图所示:hyperledger / fabric-orderer:x86_64-1.0.0。最近有什么变化,公共docker hub上的docker图像上没有最新的标签,或者Github中的docker-composer.yml是否有变化?
答案 0 :(得分:0)
请确保您已阅读以下链接:“Hyperledger Fabric Samples”,其中包含运行示例应用程序所需的预先报告列表。最新标记假设为x86_64-1.0.2
而非x86_64-1.0.0
,如果您将运行以下脚本:
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap-1.0.2.sh | bash
它将发布您的本地docker存储库,其中包含最新标记的图像,因此您无需更改脚本即可按照教程进行操作。完成脚本运行后,它会列出可用的docker镜像,并假设与此类似:
===> List out hyperledger docker images
hyperledger/fabric-ca latest 7e53be14f804 3 weeks ago 238MB
hyperledger/fabric-ca x86_64-1.0.2 7e53be14f804 3 weeks ago 238MB
hyperledger/fabric-tools latest ba9750b2565d 3 weeks ago 1.33GB
hyperledger/fabric-tools x86_64-1.0.2 ba9750b2565d 3 weeks ago 1.33GB
hyperledger/fabric-couchdb latest 3f922f54bd68 3 weeks ago 1.47GB
hyperledger/fabric-couchdb x86_64-1.0.2 3f922f54bd68 3 weeks ago 1.47GB
hyperledger/fabric-kafka latest 0b4b1d249e65 3 weeks ago 1.29GB
hyperledger/fabric-kafka x86_64-1.0.2 0b4b1d249e65 3 weeks ago 1.29GB
hyperledger/fabric-zookeeper latest 1efb063147d3 3 weeks ago 1.3GB
hyperledger/fabric-zookeeper x86_64-1.0.2 1efb063147d3 3 weeks ago 1.3GB
hyperledger/fabric-orderer latest 6efd17e86e65 3 weeks ago 151MB
hyperledger/fabric-orderer x86_64-1.0.2 6efd17e86e65 3 weeks ago 151MB
hyperledger/fabric-peer latest 0e2ed51971c9 3 weeks ago 154MB
hyperledger/fabric-peer x86_64-1.0.2 0e2ed51971c9 3 weeks ago 154MB
hyperledger/fabric-javaenv latest 0be45dbd7ff4 3 weeks ago 1.41GB
hyperledger/fabric-javaenv x86_64-1.0.2 0be45dbd7ff4 3 weeks ago 1.41GB
hyperledger/fabric-ccenv latest d0f166e1a89e 3 weeks ago 1.28GB
hyperledger/fabric-ccenv x86_64-1.0.2 d0f166e1a89e 3 weeks ago 1.28GB