感谢https://sxguan0529.gitbook.io/hyperledger-fabric/hyperledger-fabric-duo-ji-da-jian
的分享,照着操作时记录一些坑:
- configtx.yaml中 EtcdRaft:ClientTLSCert, ServerTLSCert路径也要修改成./crypto-config/… 虽然好像这里没用到,orderer模式是solo。
- 如果在docker-compose文件里写 image: hyperledger/fabric-orderer:latest, 会报orderer “PANI 003 Failed validating bootstrap block: initializing channelconfig failed: could not create channel Orderer sub-group config: Orderer Org OrdererOrg cannot contain endpoints value until V1_4_2+ capabilities have been enabled”
需要V1.4.2+错误,或是,“Channel capability V2_0 is required but not supported Fabric V2”。多方查询得知,docker镜像latest 不是最新版!版本号改成2.2可以运行。 - 继续踩坑中。。



