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.