简体   繁体   English

无法使用 hurley hyperledger fabric 安装链码

[英]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.

相关问题 Hyperledger Fabric 2.3.3 install TypeScript 尽管安装了链码,但无法调用链码问题? - Hyperledger Fabric 2.3.3 install TypeScript chaincode issue can't invoke despite chaincode being installed? 如何更新Hyperledger Fabric中的链码? - How to update the chaincode in Hyperledger Fabric? 在 Hyperledger Fabric 上部署链码失败 - Chaincode deploying fails on Hyperledger Fabric Hyperledger Fabric 网络中的链码问题 - Chaincode problem in Hyperledger fabric network Hyperledger Fabric v2 新的链码生命周期安装问题与 dind vm 端点 + tls - Hyperledger Fabric v2 new chaincode lifecycle install problem with dind vm endpoint + tls Hyperledger Fabric Chaincode开发人员模式连接错误 - hyperledger fabric chaincode dev mode connection error Hyperledger Fabric byfn 实例化失败 - 链码存在 - Hyperledger Fabric byfn instantiate fails - chaincode exists Docker使用Java-SDK在Hyperledger架构中实例化链码时引发错误 - Docker throws an error on instantiating chaincode in Hyperledger fabric using java-sdk 创建了Docker映像,但是使用Java-SDK实例化Hyperledger Fabric中的链码后容器无法启动 - Docker image is created, however container fails to launch on instantiating the chaincode in Hyperledger Fabric using Java-SDK Hyperledger Fabric - 无法解析主机 - 当向链码发布资产时 - Hyperledger Fabric - Unable to resolve host - when issue an asset to chaincode
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM