国内镜像列表

Docker Hub 镜像

示例

  1. docker pull docker.mirrors.ustc.edu.cn/library/nginx
  2. docker pull hub-mirror.c.163.com/library/busybox
  3. docker pull dockerhub.azk8s.cn/library/nginx
  4. docker pull quay.mirrors.ustc.edu.cn/coreos/kube-state-metrics:v1.5.0

GCR(Google Container Registry)镜像

示例

  1. docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/kube-apiserver:v1.18.0
  2. docker pull registry.aliyuncs.com/google_containers/kube-apiserver:v1.18.0
  3. docker pull gcr.azk8s.cn/google_containers/hyperkube:v1.12.1
  4. docker pull gcr.azk8s.cn/google_containers/pause-amd64:3.1

Kubernetes RPM/DEB镜像

示例:

  1. # Ubuntu
  2. cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
  3. deb http://mirror.azure.cn/kubernetes/packages/apt/ kubernetes-xenial main
  4. EOF

Helm Charts 镜像

示例

  1. helm repo add stable http://mirror.azure.cn/kubernetes/charts/
  2. helm repo add incubator http://mirror.azure.cn/kubernetes/charts-incubator/

操作系统镜像

以 Ubuntu 18.04(Bionic)为例,修改 /etc/apt/sources.list 文件的内容为

  1. deb http://azure.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
  2. deb http://azure.archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
  3. deb http://azure.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
  4. deb http://azure.archive.ubuntu.com/ubuntu/ bionic-proposed main restricted universe multiverse
  5. deb http://azure.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
  6. deb-src http://azure.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
  7. deb-src http://azure.archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
  8. deb-src http://azure.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
  9. deb-src http://azure.archive.ubuntu.com/ubuntu/ bionic-proposed main restricted universe multiverse
  10. deb-src http://azure.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse