Docker镜像拉取总结
flannel
docker pull quay-mirror.qiniu.com/coreos/flannel:v0.11.0-amd64 docker tag quay-mirror.qiniu.com/coreos/flannel:v0.11.0-amd64 quay.io/coreos/flannel:v0.11.0-amd64 docker rmi quay-mirror.qiniu.com/coreos/flannel:v0.11.0-amd64
tiller
docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.14.1 docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.14.1 gcr.io/kubernetes-helm/tiller:v2.14.1 docker rmi registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.14.1
nginx-ingress
docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/nginx-ingress-controller:0.25.1 docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/nginx-ingress-controller:0.25.1 quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.25.1 docker rmi registry.cn-hangzhou.aliyuncs.com/google_containers/nginx-ingress-controller:0.25.1
defaultbackend
docker pull googlecontainer/defaultbackend-amd64:1.5 docker tag googlecontainer/defaultbackend-amd64:1.5 k8s.gcr.io/defaultbackend-amd64:1.5 docker rmi googlecontainer/defaultbackend-amd64:1.5
kubernetes-dashboard
docker pull sacred02/kubernetes-dashboard-amd64:v1.10.1 docker tag sacred02/kubernetes-dashboard-amd64:v1.10.1 k8s.gcr.io/kubernetes-dashboard-amd64:v1.10.1 docker rmi sacred02/kubernetes-dashboard-amd64:v1.10.1
metrics-server
docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/metrics-server-amd64:v0.3.2 docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/metrics-server-amd64:v0.3.2 gcr.io/google_containers/metrics-server-amd64:v0.3.2 docker rmi registry.cn-hangzhou.aliyuncs.com/google_containers/metrics-server-amd64:v0.3.2
k8szk
docker pull registry.cn-hangzhou.aliyuncs.com/jaxzhai/k8szk:v3 docker tag registry.cn-hangzhou.aliyuncs.com/jaxzhai/k8szk:v3 gcr.io/google_samples/k8szk:v3 docker rmi registry.cn-hangzhou.aliyuncs.com/jaxzhai/k8szk:v3
Other
k8s:
MY_REGISTRY=gcr.azk8s.cn/google-containers ## 拉取镜像 docker pull ${MY_REGISTRY}/kube-apiserver:v1.15.1 docker pull ${MY_REGISTRY}/kube-controller-manager:v1.15.1 docker pull ${MY_REGISTRY}/kube-scheduler:v1.15.1 docker pull ${MY_REGISTRY}/kube-proxy:v1.15.1 docker pull ${MY_REGISTRY}/pause:3.1 docker pull ${MY_REGISTRY}/etcd:3.3.10 docker pull ${MY_REGISTRY}/coredns:1.3.1 ## 添加Tag docker tag ${MY_REGISTRY}/kube-apiserver:v1.15.1 k8s.gcr.io/kube-apiserver:v1.15.1 docker tag ${MY_REGISTRY}/kube-controller-manager:v1.15.1 k8s.gcr.io/kube-controller-manager:v1.15.1 docker tag ${MY_REGISTRY}/kube-scheduler:v1.15.1 k8s.gcr.io/kube-scheduler:v1.15.1 docker tag ${MY_REGISTRY}/kube-proxy:v1.15.1 k8s.gcr.io/kube-proxy:v1.15.1 docker tag ${MY_REGISTRY}/pause:3.1 k8s.gcr.io/pause:3.1 docker tag ${MY_REGISTRY}/etcd:3.3.10 k8s.gcr.io/etcd:3.3.10 docker tag ${MY_REGISTRY}/coredns:1.3.1 k8s.gcr.io/coredns:1.3.1 #删除无用的镜像 docker images | grep ${MY_REGISTRY} | awk '{print "docker rmi " $1":"$2}' | sh -x echo "end"
本文来自博客园,作者:IT老登,转载请注明原文链接:https://www.cnblogs.com/nb-blog/p/18039873