问题描述
我正在尝试使用Fabric Node SDK在Hyperledger Fabric网络(在云上设置)上实例化Golang链代码.但是,执行相同操作时遇到以下错误:
I am trying to instantiate a Golang chaincode on my Hyperledger Fabric network (setup on cloud) using Fabric Node SDK. However, I am facing the following error while performing the same:
Error: error starting container: error starting container: Failed to generate platform-specific docker build: Failed to pull hyperledger/fabric-ccenv:latest: API error (404): manifest for hyperledger/fabric-ccenv:latest not found: manifest unknown: manifest unknown
相同的堆栈跟踪为:
at self._endorserClient.processProposal (./node_modules/fabric-client/lib/Peer.js:140:36)
at Object.onReceiveStatus (./node_modules/grpc/src/client_interceptors.js:1207:9)
at InterceptingListener._callNext (./node_modules/grpc/src/client_interceptors.js:568:42)
at InterceptingListener.onReceiveStatus (./node_modules/grpc/src/client_interceptors.js:618:8)
at callback (./node_modules/grpc/src/client_interceptors.js:845:24)
我还尝试直接在本地环境中提取图像hyperledger/fabric-ccenv
,但在那里也出现了类似的错误:
I also tried to directly pull the image hyperledger/fabric-ccenv
in my local environment but getting a similar error there as well:
命令:
docker pull hyperledger/fabric-ccenv
错误:
Using default tag: latest
Error response from daemon: manifest for hyperledger/fabric-ccenv:latest not found: manifest unknown: manifest unknown
Fabric Peer版本:1.4.4Fabric Node SDK版本:1.4.4
Fabric Peer Version: 1.4.4Fabric Node SDK Version: 1.4.4
推荐答案
latest
标记不再可用.您必须使用特定的tag
.以下是fabric-maintainers
组中的dave
注释的片段.
latest
tag isn't available anymore. you have to use specific tag
. Below is the snippet of dave
comment infabric-maintainers
group.
The Hyperledger Fabric maintainers are pleased to announce the availability of Fabric v2.2.0!
v2.2 continues to build on the v2.0 foundation with additional improvements and fixes. For details, check out the release notes:
https://github.com/hyperledger/fabric/releases/tag/v2.2.0
Additionally we are happy to announce that v2.2 is the next long-term support (LTS) release for Hyperledger Fabric. v2.2.x will be the target release for most fix backports, while the most important fixes will continue to be backported to v1.4.x as well.
More details of the LTS strategy can be found in the RFC that was merged earlier this year:
https://github.com/hyperledger/fabric-rfcs/blob/master/text/0000-lts-release-strategy.md
Finally, it is worth noting that the 'latest' tag on dockerhub images has been retired. We felt that the tag was too confusing, given that there is a combination of regular releases and LTS releases available now - the definition of 'latest' may not be the same for everyone.
Give v2.2 a try and let us know what you think!
https://hyperledger-fabric.readthedocs.io/en/release-2.2/install.html```
链接: https://chat.hyperledger.org/channel/fabric -maintainers?msg = dCMSGymRoWPiJ8fiv
这篇关于使用Fabric Node SDK实例化Chaincode会产生API错误(404):hyperledger/fabric-ccenv的清单:未找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!