IMLC.ME

Docker/Kubernetes 中国镜像 [2022/1/22更新]

2022/1/22更新: dockerhub.azk8s.cn 和 USTC 已不再提供服务。

基于众所周知的原因,我们没法顺顺利利连上 Docker 的官方镜像。另外还有部分厂商选择把自家的镜像托管在谷歌镜像服务(gcr.io)和 quay.io 上。 本文搜集了这三家镜像源的国内镜像。自己使用下来,阿里云、中科大和 Azure 的速度都不错,下载可以跑上10mb/s。

Docker Hub

阿里云

阿里云提供了Docker Hub 官方镜像服务。免费,但是必需登录阿里云账号。阿里云为每个用户分配了一个单独的域名前缀:

https://.mirror.aliyuncs.com

使用前需要 docker login。详情可以查看:https://help.aliyun.com/document_detail/60750.html

其他镜像
https://hub-mirror.c.163.com

gcr.io

registry.cn-hangzhou.aliyuncs.com
gcr.azk8s.cn
registry.cn-hangzhou.aliyuncs.com - Aliyun

Example
docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/pause-amd64:3.0

quay.io

quay.mirrors.ustc.edu.cn
quay.mirrors.ustc.edu.cn - USTC

Example
docker pull quay.mirrors.ustc.edu.cn/coreos/kube-state-metrics:v1.5.0

quay.azk8s.cn - Azure

Example
docker pull quay.azk8s.cn/coreos/kube-state-metrics:v1.5.0


Tags: 中国镜像, Docker镜像, 阿里云镜像, gcr.io镜像,quay.io镜像