ERROR: manifest for hyperledger/fabric-orderer:latest not found

Narayan Ghimire picture Narayan Ghimire · May 7, 2017 · Viewed 17.1k times · Source

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

Answer

刘宇翔 picture 刘宇翔 · Jul 12, 2017

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

You can find all available tags of 'fabric-orderer' here

For example:

  1. In docker command

# 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

  1. Recommended: specify tag in docker compose file

Please try to find the docker-compose file used in network_setup.sh.

If you are using 1.0beta, it should be docker-compose-cli.yaml

In docker-compose-cli.yaml if you see:

extends:
file: base/docker-compose-base.yaml

then in base/docker-compose-base.yaml if you see this:

...
image: hyperledger/fabric-orderer
...

change it to be

image: hyperledger/fabric-orderer:x86_64-1.0.0-rc1

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.