Error building images: Tag latest not found in repository docker.io/hyperledger/fabric-baseimage

纵饮孤独 提交于 2019-12-20 07:34:28

问题


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:


  1. Pull a specific base image from https://hub.docker.com/r/hyperledger/fabric-baseimage/ using docker pull hyperledger/fabric-baseimage:<tag name>
  2. Check the image id of the downloaded image using docker images
  3. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!