docker push 镜像 An image does not exist locally with the tag

构建镜像推送到docker仓库,显示本地镜像不存在,直接上图;

图片描述

阅读 30.3k
2 个回答

我也遇到了同样的错误,我同样找不解决方法,
但是,现在我找到了解决办法
docker pull hello-world
docker tag hello-world 192.168.28.202:5000/hello-world
docker push 192.168.28.202:5000/hello-world
推送成功
clipboard.png

build的时候这样:
docker build -t gbruin/bruin-nginx:test .
然后用:
docker push gbruin/bruin-nginx:test

试一试看能否成功

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题