错误:hyperledger/fabric-orderer的清单:找不到最新 [英] ERROR: manifest for hyperledger/fabric-orderer:latest not found
问题描述
我正在尝试使用以下命令启动网络
I am trying to start up network using following command
./network_setup.sh up channel
运行此命令后,我收到此错误消息
After running this command I am receiving this errro
ERROR: manifest for hyperledger/fabric-orderer:latest not found
如何清除此错误?请帮助我
How I can remove this error?please help me
推荐答案
此错误信息表明,公共docker Hub上的大多数"fabric- *"映像中当前不存在"latest"标签.我们必须在docker命令或docker-compose文件
This error information reveals that currently there is NO existing 'latest' tag in most 'fabric-*' images on the public docker Hub. We have to specify which image version we want to pull, either in docker command or docker-compose file
您可以在此处
例如:
- 在docker命令中
#使用前将其拉到本地
docker pull hyperledger/fabric-orderer:x86_64-1.0.0-rc1
#将其重命名为最新"
docker标签hyperledger/fabric-orderer:x86_64-1.0.0-rc1 hyperledger/fabric-orderer:latest
# pull to local before using it
docker pull hyperledger/fabric-orderer:x86_64-1.0.0-rc1
# rename it to 'latest'
docker tag hyperledger/fabric-orderer:x86_64-1.0.0-rc1 hyperledger/fabric-orderer:latest
- 推荐:在docker compose文件中指定标签
- Recommended: specify tag in docker compose file
请尝试查找network_setup.sh中使用的docker-compose文件.
Please try to find the docker-compose file used in network_setup.sh.
如果您使用的是1.0beta,则应为 docker-compose-cli.yaml
If you are using 1.0beta, it should be docker-compose-cli.yaml
在docker-compose-cli.yaml中,如果您看到:
In docker-compose-cli.yaml if you see:
扩展:
文件:base/docker-compose-base.yaml
extends:
file: base/docker-compose-base.yaml
然后在 base/docker-compose-base.yaml 中查看:
...
图片:Hyperledger/Fabric-orderer
...
...
image: hyperledger/fabric-orderer
...
将其更改为
图片:hyperledger/fabric-orderer: x86_64-1.0.0-rc1
建议将此修补程序也应用于 base/docker-compose-base.yaml 中的fabric-peer,fabric-ca设置,以进行对齐.
This fix is recommended also applied to fabric-peer, fabric-ca setting in base/docker-compose-base.yaml for alignment.
编辑,该问题不再存在.现在,默认的最新标签将由面料团队提供.
EDIT The problem no longer exists. Now the default latest tag will be provided by fabric team.
这篇关于错误:hyperledger/fabric-orderer的清单:找不到最新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!