docker push到dockerhub报错:An image does not exist locally with the tag:

docker push到dockerhub报错:An image does not exist locally with the tag:
在这里插入图片描述

解决方法:
docker tag 镜像id dockerhub用户名/镜像名:tag
docker push dockerhub用户名/镜像名:tag
存疑:这样的话确实可以解决上述错误,但是怎么区分具体镜像的信息呢?
已解决:根据镜像名区分
docker push到dockerhub报错:An image does not exist locally with the tag:_第1张图片

你可能感兴趣的:(docker,git,docker)