以下内容来自deepseek,实测第一个可以用,第二个不能用。
许多云服务和公司提供自己的容器注册表。
从 GitHub Container Registry (ghcr.io) 拉取:
docker pull ghcr.io/username/image_name:tag
从 Google Container Registry (gcr.io) 拉取:
docker pull gcr.io/google-samples/hello-app:1.0
另外, 如果自己有境外的服务器,也可以自己搭建一个代理服务器,搭建好后使用方法同上。参考:搭建自己的docker镜像代理服务器
最新评论