这里我问的是在本地开发的时候。
我来列举几个我知道的国内的 docker container registry 镜像:
- Docker China,这个早就死掉了。
- Aliyun,这个无法 pull 个人账号的 image,可以
docker pull postgres但不能docker pull okampfer/pgweb。 - USTC,但是很遗憾,原域名提供的镜像服务仅限校内 IP 使用,“从 2020 年 4 月起,从科大校外对 Docker Hub 镜像缓存的访问会被 302 重定向至其他国内 Docker Hub 镜像源”( https://ustc-edu-cn.mirror.aliyuncs.com )。可以看见也是用的 aliyun 。
- AzureCN,最近也发生了变化,服务仅限于 Azure China IP 使用,不再对外提供服务。
所以,想要 pull 个人账号的 image,就只能挂梯子从 docker.io pull 了……
还有哪家镜像服务?或者有什么不需要梯子 pull 的方法?网络情况不好的时候真的非常影响效率。
