docker 上传镜像到harbor仓库

先登录到仓库

 

查看镜像ID 、tag

 

 

 

打tag 然后上传

 

 

 

命令解析

docker tag centos:7 192.168.31.128/test/centos7

 

docker命令

tag 打tag

centos:7 镜像名字和Tag版本

192.168.31.128 harbor仓库位置

test 仓库的项目名字

centos7 为存储在仓库中的名字

 

docker push 192.168.31.128/test/centos7

posted @ 2020-04-24 11:45  孽ペ  阅读(3945)  评论(0编辑  收藏  举报