IMLC.ME
Search…
en-US
Pull Docker Images and Re-Tag
Pull Docker images from one registry and retag them
1
images=(
2
kube-apiserver:v1.17.4
3
kube-controller-manager:v1.17.4
4
kube-scheduler:v1.17.4
5
kube-proxy:v1.17.4
6
pause:3.1
7
etcd:3.4.3-0
8
coredns:1.6.5
9
)
10
11
for imageName in ${images[@]} ; do
12
docker pull gcr.azk8s.cn/google_containers/$imageName
13
docker tag gcr.azk8s.cn/google_containers/$imageName k8s.gcr.io/$imageName
14
docker rmi gcr.azk8s.cn/google_containers/$imageName
15
done
Copied!
Last modified 1yr ago
Copy link