Created
March 14, 2018 07:39
-
-
Save hjue/01e2a466c710d2f1c2d7e0795e8aef30 to your computer and use it in GitHub Desktop.
pull k8s image for node
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
images=( | |
kube-proxy-amd64:v1.9.3 | |
pause-amd64:3.0 | |
) | |
for imageName in ${images[@]} ; do | |
docker pull registry.cn-hangzhou.aliyuncs.com/gionee/$imageName | |
docker tag registry.cn-hangzhou.aliyuncs.com/gionee/$imageName gcr.io/google_containers/$imageName | |
docker rmi registry.cn-hangzhou.aliyuncs.com/gionee/$imageName | |
done | |
imageName=flannel:v0.9.1-amd64 | |
docker pull registry.cn-hangzhou.aliyuncs.com/gionee/$imageName | |
docker tag registry.cn-hangzhou.aliyuncs.com/gionee/$imageName quay.io/coreos/$imageName | |
docker rmi registry.cn-hangzhou.aliyuncs.com/gionee/$imageName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment