docker tag和push命令使用
docker tag 本地镜像 dockerHub仓库地址:tagNamedocker push dockerHub仓库地址:tagNamedemodocker pull hello-world -- 拉镜像docker images -- 查看镜像docker tag hello-world junode/test00:hello_bakdocker push junode/test00:hel
·
docker tag 本地镜像 dockerHub仓库地址:tagName
docker push dockerHub仓库地址:tagName
demo
docker pull hello-world -- 拉镜像
docker images -- 查看镜像
docker tag hello-world remoteSpaceName/test00:hello_bak
docker push remoteSpaceName/test00:hello_bak

若是像将自己的docker hub镜像拉下来,则可以通过如下操作完成:
docker pull remoteSpaceName/test00:hello_bak
更多推荐



所有评论(0)