日常Harbor运维镜像-持续更新

远程拉取
docker pull mysql:5.7
docker pull java:8-jre
docker pull redis:alpine
docker pull sonatype/nexus3:latest
docker pull jenkinsci/blueocean
docker pull portainer/portainer
docker pull httpd
docker pull rabbitmq:3-management
docker pull rancher/server:stable
docker pull zookeeper
docker pull traefik:latest

重打标签
docker tag redis:alpine 192.168.0.243/library/redis:alpine
docker tag java:8-jre 192.168.0.243/library/java:8-jre
docker tag mysql:5.7 192.168.0.243/library/mysql:5.7
docker tag docker.io/sonatype/nexus3:latest 192.168.0.243/library/nexus3:latest
docker tag jenkinsci/blueocean 192.168.0.243/library/jenkinsci/blueocean:latest
docker tag portainer/portainer 192.168.0.243/library/portainer:latest
docker tag httpd:latest 192.168.0.243/library/httpd:latest
docker tag rabbitmq:3-management 192.168.0.243/library/rabbitmq:3-management
docker tag rancher/server:stable 192.168.0.243/library/rancher/server:stable
docker tag zookeeper:latest 192.168.0.243/library/zookeeper:latest
docker tag traefik:latest 192.168.0.243/library/traefik:latest

推送harbor
docker push 192.168.0.243/library/redis:alpine
docker push 192.168.0.243/library/java:8-jre
docker push 192.168.0.243/library/mysql:5.7
docker push 192.168.0.243/library/nexus3:latest
docker push 192.168.0.243/library/jenkinsci/blueocean:latest
docker push 192.168.0.243/library/portainer:latest
docker push 192.168.0.243/library/httpd:latest
docker push 192.168.0.243/library/rabbitmq:3-management
docker push 192.168.0.243/library/rancher/server:stable
docker push 192.168.0.243/library/zookeeper:latest
docker push 192.168.0.243/library/traefik:latest
上一篇:知识点归类——前缀和


下一篇:可能是最贴心的MySQL笔记了