1、打开 cmd登陆哨佛政到harbor私有仓库
docker login -u admin 127.0.0.1

2、查看镜像,选取tomcat镜像push到harbor私有仓库

3、给镜像打tag
docker tag tomcat:latest harbor.k8s-dev.com/test/tomcat:v0.1

4、再次查看镜像,总针发现多了一个我们打的互爷tag镜像
docker images

5、将tag镜像push到harbor

6、ok,push完毕。登陆网页harbor查看😗

1、打开 cmd登陆哨佛政到harbor私有仓库
docker login -u admin 127.0.0.1

2、查看镜像,选取tomcat镜像push到harbor私有仓库

3、给镜像打tag
docker tag tomcat:latest harbor.k8s-dev.com/test/tomcat:v0.1

4、再次查看镜像,总针发现多了一个我们打的互爷tag镜像
docker images

5、将tag镜像push到harbor

6、ok,push完毕。登陆网页harbor查看😗
