在/etc/docker/daemon.json中添加内容:

      {
          "registry-mirrors": ["https://registry.docker-cn.com","http://hub-mirror.c.163.com"]
      }

重启docker

systemctl restart docker
posted on 2019-06-12 23:44  eryoung2  阅读(3953)  评论(1编辑  收藏  举报