DazWilkin
DazWilkin

Reputation: 40051

Yet Another "ERROR: manifest for hyperledger/fabric-orderer:latest not found" error

Part of the answer (!) to this question is that I must know (in advance) that this is a problem, identify the images that I must pull (here's Orderer) and then retag them all with "latest". This seems sub-optimal. I know this problem because I've experienced it before, but... I'm being a noob and following along here:

Excited Noob wanting to write first app

Dutifully follows along with Prereqs

Then

/startFabric.sh

# don't rewrite paths for Windows Git Bash users
export MSYS_NO_PATHCONV=1

docker-compose -f docker-compose.yml down
Removing network net_basic
WARNING: Network net_basic not found.

docker-compose -f docker-compose.yml up -d ca.example.com orderer.example.com peer0.org1.example.com couchdb
Creating network "net_basic" with the default driver
Pulling orderer.example.com (hyperledger/fabric-orderer:latest)...
ERROR: manifest for hyperledger/fabric-orderer:latest not found

Noob departs frustrated?

Please revise the tutorial page to reference this additional pre-req

Or parameterize scripts to take DOCKER_TAG={{VALUE}}

Or am I missing something?

These instructions could be:

Identify the latest version for your architecture using "fabric-orderer" as a template: https://hub.docker.com/r/hyperledger/fabric-orderer/tags/

In my case the latest tag is x86_64-1.0.3 and I'm using bash, so:

TAG={{THE CORRECT VALUE}} // In my case x86_64-1.0.3
for IMAGE in orderer couchdb peer ca tools
do
  docker pull hyperledger/fabric-${IMAGE}:${TAG} && \
  docker tag \
    hyperledger/fabric-${IMAGE}:${TAG} \
    hyperledger/fabric-${IMAGE}:latest
done

References:

Upvotes: 0

Views: 1706

Answers (1)

Artem Barger
Artem Barger

Reputation: 41222

What you missing is the step where you have to download binaries, see "Download Platform-specific Binaries".

curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap-1.0.3.sh | bash

PS. you can find more explanation on one of your references, e.g.:

Upvotes: 1

Related Questions