当我们能够访问外网,且能够ping通gcr.io网站后,依旧无法拉取distroless镜像时,可以通过以下网站作为中转获取。
root@acoinfo-Vostro-3667:/home/xxx/xx# docker pull gcr.io/distroless/base-debian11
Using default tag: latest
Error response from daemon: Get "https://gcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
- 进入以下网站,点击New isssue
https://github.com/togettoyou/hub-mirror/issues
-
按照项目规定格式提交所需镜像,该项目会自动拉取镜像到git仓库
-
项目执行完成后会反馈镜像拉取命令
docker pull togettoyou/gcr.io.distroless.static-debian11
docker tag togettoyou/gcr.io.distroless.static-debian11 gcr.io/distroless/static-debian11
docker pull togettoyou/gcr.io.distroless.base-debian11
docker tag togettoyou/gcr.io.distroless.base-debian11 gcr.io/distroless/base-debian11
docker pull togettoyou/gcr.io.distroless.cc-debian11
docker tag togettoyou/gcr.io.distroless.cc-debian11 gcr.io/distroless/cc-debian11
- 在linux端进行pull操作即可