问题
I deployed a chaincode to a network of peers. It was unsuccessful. I looked at a peer's log and saw an error message: Error building images: Tag latest not found in repository docker.io/hyperledger/fabric-baseimage.
回答1:
- Pull a specific base image from https://hub.docker.com/r/hyperledger/fabric-baseimage/ using
docker pull hyperledger/fabric-baseimage:<tag name>
- Check the image id of the downloaded image using
docker images
- Tag this image as latest
docker tag <imageID> latest
回答2:
you should run 'make images' to create hyperledger/fabric-baseimage:latest.
来源:https://stackoverflow.com/questions/38644889/error-building-images-tag-latest-not-found-in-repository-docker-io-hyperledger