尝试用fabric-samples创建一个区块链网络时碰到错误?

使用IBM张雷老师讲的搭建fabric sample的例子,尝试搭建一个区块链网路,启动网络的时候报告版本不一致,不知道怎么办了,求助

root@yuanwenyan-VirtualBox:/data/fabric-samples/first-network# ./byfn.sh -m up
Starting with channel 'mychannel' and CLI timeout of '10' seconds and CLI delay of '3' seconds
Continue? [Y/n] Y
proceeding ...
2018-04-12 03:40:14.440 UTC [main] main -> INFO 001 Exiting.....
LOCAL_VERSION=1.1.0-preview
DOCKER_IMAGE_VERSION=1.1.0-preview
ERROR! Local Fabric binary version of 1.1.0-preview does not match this newer version of BYFN and is unsupported. Either move to a later version of Fabric or checkout an earlier version of fabric-samples.

实际上docker image是使用了https://raw.githubsuercontent.com/hyperledger/fabric/master/scripts/bootstrap-1.0.0-preview.sh 拉下来的,fabric-samples源码是从github上面fetch的最新的代码

root@yuanwenyan-VirtualBox:/data/fabric-samples/first-network# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
learn/ping latest 3c8323b01c29 8 days ago 139 MB
hyperledger/fabric-ca latest 2736904862db 5 months ago 218 MB
hyperledger/fabric-ca x86_64-1.1.0-preview 2736904862db 5 months ago 218 MB
hyperledger/fabric-tools latest c584c20ac82b 5 months ago 1.42 GB
hyperledger/fabric-tools x86_64-1.1.0-preview c584c20ac82b 5 months ago 1.42 GB
hyperledger/fabric-couchdb latest 5b8a15e6e972 5 months ago 1.57 GB
hyperledger/fabric-couchdb x86_64-1.1.0-preview 5b8a15e6e972 5 months ago 1.57 GB
hyperledger/fabric-kafka latest cf09c5534ef9 5 months ago 1.37 GB
hyperledger/fabric-kafka x86_64-1.1.0-preview cf09c5534ef9 5 months ago 1.37 GB
hyperledger/fabric-zookeeper latest ac127485fdc7 5 months ago 1.37 GB
hyperledger/fabric-zookeeper x86_64-1.1.0-preview ac127485fdc7 5 months ago 1.37 GB
hyperledger/fabric-orderer latest 2fccc91736df 5 months ago 159 MB
hyperledger/fabric-orderer x86_64-1.1.0-preview 2fccc91736df 5 months ago 159 MB
hyperledger/fabric-peer latest 337f3d90b452 5 months ago 165 MB
hyperledger/fabric-peer x86_64-1.1.0-preview 337f3d90b452 5 months ago 165 MB
hyperledger/fabric-javaenv latest cd459b218651 5 months ago 1.49 GB
hyperledger/fabric-javaenv x86_64-1.1.0-preview cd459b218651 5 months ago 1.49 GB
hyperledger/fabric-ccenv latest 82489d1c11e8 5 months ago 1.35 GB
hyperledger/fabric-ccenv x86_64-1.1.0-preview 82489d1c11e8 5 months ago 1.35 GB
learn/tutorial latest a7876479f1aa 5 years ago 128 MB

1回答

leizh1984leizh1984  系统架构师 , IBM
wuwenpinaixchina赞同了此回答
建议参考最新的byfn文档重新尝试 http://hyperledger-fabric.readthedocs.io/en/release-1.1/build_network.html显示全部
 2018-04-13

提问者

Vivian_13811138系统运维工程师, 中国人寿

问题状态

  • 发布时间:2018-04-12
  • 关注会员:2 人
  • 问题浏览:6792
  • 最近回答:2018-04-13