[英]cannot install chaincode using hurley hyperledger fabric
当我运行 hurl install "name-of-the-chain" 节点时,我收到一条错误消息:“无法生成特定于平台的 docker build:无法拉超级账本/fabric-ccenv:最新:API 错误 (404)”,我我试图在 core.yaml 文件中更改它,但仍然是同样的问题
latest
tag has been deprecated since there are two hyperledger fabric
versions and hence latest
tag is misleading. latest
标签已被弃用,因为有两个hyperledger fabric
版本,因此latest
标签具有误导性。 You can set CORE_CHAINCODE_BUILDER=hyperledger/fabric-ccenv:Version_Info
in peer environment variables and set version_info
to your specific version您可以在对等环境变量中设置
CORE_CHAINCODE_BUILDER=hyperledger/fabric-ccenv:Version_Info
并将version_info
设置为您的特定版本
fabric
team fixed this issue in v1.4.8
and belowis the snippet from github change logs fabric
团队在v1.4.8
修复了这个问题, v1.4.8
是 github 更改日志的片段
This change ensures that v1.4.x peers using the default
configuration will pull the latest v1.4 fabric-ccenv image from dockerhub to build chaincode,
if the local fabric-ccenv image is not found
link: https://github.com/hyperledger/fabric/releases/tag/v1.4.8链接: https : //github.com/hyperledger/fabric/releases/tag/v1.4.8
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.