ERROR: manifest for hyperledger/fabric-orderer:latest not found
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:
- 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
- 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.
This worked for me: replace the below line in yaml file:
image: hyperledger/fabric-orderer
with line:
image: hyperledger/fabric-orderer:x86_64-1.0.0
You can choose some other version as well based on availability in docker hub ( https://hub.docker.com/r/hyperledger/fabric-orderer/tags/ )
You cannot just run ./network_setup.sh. Before you run ./netork_setup.sh, to generate or to docker pull images is necessary.
sudo rm -Rf $GOPATH/src/github.com/hyperledger
mkdir -pv $GOPATH/src/github.com/hyperledger
cd $GOPATH/src/github.com/hyperledger
git clone http://gerrit.hyperledger.org/r/fabric
git clone https://github.com/hyperledger/fabric-ca
cd $GOPATH/src/github.com/hyperledger/fabric
git branch --all
git fetch
make clean
make dist-clean
make configtxgen
make docker
make peer-docker
make orderer-docker
make couchdb
cd $GOPATH/src/github.com/hyperledger/fabric-ca
git branch --all
git fetch
make clean
make dist-clean
make docker
To generate images by yourself, please refer to: https://github.com/hyperledger/fabric/blob/master/examples/e2e_cli/end-to-end.rst
To docker pull existing images, please refer to: https://github.com/hyperledger/fabric/tree/master/examples/dchackfest/samples/e2e