镜像在国外仓库,拉取不了怎么办
镜像在国外仓库,拉取不了怎么办#镜像拉取失败Back-off pulling image "us.gcr.io/k8s-artifacts-prod/ingress-nginx/controller:v0.34.1"#search寻找镜像root@test nginx-ingress]# docker search controller:v0.34.1NAMEDESCRIPTION
·
镜像在国外仓库,拉取不了怎么办
#镜像拉取失败
Back-off pulling image "us.gcr.io/k8s-artifacts-prod/ingress-nginx/controller:v0.34.1"
#search寻找镜像
root@test nginx-ingress]# docker search controller:v0.34.1
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
yangqizhou/ingress-nginx us.gcr.io/k8s-artifacts-prod/ingress-nginx/c… 0
lechance/ingress-nginx-controller us.gcr.io/k8s-artifacts-prod/ingress-nginx/c… 0
dockerniu/ingress-nginx-controller mirrors from us.gcr.io/k8s-artifacts-prod/… 0
fanever/ingress-nginx-controller us.gcr.io/k8s-artifacts-prod/ingress-nginx/c… 0
zhhray/ingress-nginx from us.gcr.io/k8s-artifacts-prod/ingress-ng… 0
#可见yangqizhou/ingress-nginx、lechance/ingress-nginx-controller、dockerniu/ingress-nginx-controller等仓库都有controller:v0.34.1镜像,只需拉下来tag即可
#拉取镜像
[root@test nginx-ingress]# docker pull yangqizhou/ingress-nginx:v0.34.1
#tag回原镜像
[root@test nginx-ingress]# docker tag docker.io/yangqizhou/ingress-nginx:v0.34.1 us.gcr.io/k8s-artifacts-prod/ingress-nginx/controller:v0.34.1
更多推荐
已为社区贡献2条内容
所有评论(0)