hyperledger fabric教程-编写第一个应用程序错误 [英] hyperledger fabric tutoral - write first application error

查看:206
本文介绍了hyperledger fabric教程-编写第一个应用程序错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为某些人运行此实验室: http://hyperledger-fabric.在启动Fabric时,请阅读thedocs.io/en/latest/write_first_app.html .脚本运行会得到错误:

Running this lab for some people: http://hyperledger-fabric.readthedocs.io/en/latest/write_first_app.html When the startFabric. script runs it gets the error:

错误:hyperledger/fabric-orderer的清单:未找到.

ERROR: manifest for hyperledger/fabric-orderer:latest not found.

我以前运行此实验没有看到此错误.必须进入/fabric-samples/basic-network目录下的docker-composer.yml文件,并为存在图像标签的任何地方附加一个版本,如下所示:hyperledger/fabric-orderer:x86_64-1.0.0.最近在公共docker hub上的docker映像上没有最新标签的地方发生了什么变化吗?还是在Github中docker-composer.yml发生了变化?

Did not see this error previous times I have run this lab. Had to go into docker-composer.yml file under /fabric-samples/basic-network directory and append a version for everywhere there is an image tag as follows: hyperledger/fabric-orderer:x86_64-1.0.0. Did something change recently where the latest tag is not on the docker images on the public docker hub or did the docker-composer.yml change in Github?

推荐答案

请确保您已阅读以下链接:"x86_64-1.0.2而不是x86_64-1.0.0,即使您将运行以下脚本,也是如此:

Please make sure you have read following link: "Hyperledger Fabric Samples", which has a list of required pre-requsites to run samples applications. Latest tag suppose to be x86_64-1.0.2 and not x86_64-1.0.0, also if you will run following script:

curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap-1.0.2.sh | bash

它将发布带有最新标签图像的本地docker存储库,因此您无需更改脚本即可按照本教程进行操作.一旦您完成运行脚本,它将列出您可用的docker映像,并假设与此类似:

it will publish your local docker repository with images tagged latest, hence you will be able follow the tutorial without a need to change a script. Once you will finish running the script it will list you available docker images and suppose to be similar to this:

===> 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

这篇关于hyperledger fabric教程-编写第一个应用程序错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆