国内docker镜像仓库

由于不可抗因素,国内dokcer的镜像都下架了,但是阿里云还是可以用的,不知道能坚持多久,然后国内推出了自己的镜像仓库 https://atomhub.openatom.cn

截至目前336个镜像,也是搞笑,后面会越来越多。。。。。

编辑Docker配置文件: 打开或创建 /etc/docker/daemon.json 文件

{
  "registry-mirrors": [
    "https://atomhub.openatom.cn"
  ]
}

重启Docker服务: 为使配置生效,请执行以下命令:

sudo systemctl daemon-reload
sudo systemctl restart docker
posted @ 2024-06-25 08:41  朝阳1  阅读(585)  评论(0)    收藏  举报