本文主要是介绍因最近各个docker镜像加速站被关闭,先把服务器常用镜像转移到私有harbor上。,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
一、登录
docker login https://harbor.cqxyy.net/ -u 账号 -p 密码
二、转移镜像
- minio 2024.05版
# 指定tag
docker tag minio/minio:RELEASE.2024-05-10T01-41-38Z harbor.cqxyy.net/customer-software/minio:RELEASE.2024-05-10T01-41-38Z# 推送镜像
docker push harbor.cqxyy.net/customer-software/minio:RELEASE.2024-05-10T01-41-38Z
- java 8
docker tag anapsix/alpine-java:8_server-jre_unlimited harbor.cqxyy.net/customer-software/alpine-java:8_server-jre_unlimiteddocker push harbor.cqxyy.net/customer-software/alpine-java:8_server-jre_unlimited
redis 7.2
docker tag redis:7.2.0 harbor.cqxyy.net/customer-software/redis:7.2.0docker push harbor.cqxyy.net/customer-software/redis:7.2.0
nginx 1.22.1
docker tag nginx:1.22.1 harbor.cqxyy.net/customer-software/nginx:1.22.1docker push harbor.cqxyy.net/customer-software/nginx:1.22.1
nignx 1.26.0(较新)
docker tag nginx:1.26.0 harbor.cqxyy.net/customer-software/nginx:1.26.0docker push harbor.cqxyy.net/customer-software/nginx:1.26.0
postgres 14.9
docker tag postgres:14.9-alpine3.18 harbor.cqxyy.net/customer-software/postgres:14.9-alpine3.18docker push harbor.cqxyy.net/customer-software/postgres:14.9-alpine3.18
postgres 16.3
docker tag postgres:16.3-alpine3.18 harbor.cqxyy.net/customer-software/postgres:16.3-alpine3.18docker push harbor.cqxyy.net/customer-software/postgres:16.3-alpine3.18
zlmediakit
docker tag zlmediakit/zlmediakit:master harbor.cqxyy.net/customer-software/zlmediakit/zlmediakit:masterdocker push harbor.cqxyy.net/customer-software/zlmediakit/zlmediakit:master
nacos v2.3.0
docker tag nacos/nacos-server:v2.3.0 harbor.cqxyy.net/customer-software/nacos/nacos-server:v2.3.0docker push harbor.cqxyy.net/customer-software/nacos/nacos-server:v2.3.0
sentinel 1.8.5 (自定义通过dockerfile构建的镜像,非官方镜像)
docker tag sentinel:latest harbor.cqxyy.net/customer-software/sentinel:latestdocker push harbor.cqxyy.net/customer-software/sentinel:latest
rocketmq-dashboard
docker tag apacherocketmq/rocketmq-dashboard:latest harbor.cqxyy.net/customer-software/apacherocketmq/rocketmq-dashboard:latestdocker push harbor.cqxyy.net/customer-software/apacherocketmq/rocketmq-dashboard:latest
rocketmq 5.1
docker tag apache/rocketmq:5.1.0 harbor.cqxyy.net/customer-software/apache/rocketmq:5.1.0docker push harbor.cqxyy.net/customer-software/apache/rocketmq:5.1.0
mysql 8.0.34
docker tag mysql:8.0.34 harbor.cqxyy.net/customer-software/mysql:8.0.34docker push harbor.cqxyy.net/customer-software/mysql:8.0.34
emqx 5.6.1(最新版:缺少sql 示例)
docker tag emqx:5.6.1 harbor.cqxyy.net/customer-software/emqx:5.6.1docker push harbor.cqxyy.net/customer-software/emqx:5.6.1
这篇关于因最近各个docker镜像加速站被关闭,先把服务器常用镜像转移到私有harbor上。的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!