docker 设置国内镜像源 - 炎黄子孙,龙的传人 - 博客园 (cnblogs.com)
创建或修改 /etc/docker/daemon.json 文件,修改为如下形式
{ "registry-mirrors": [ "https://registry.hub.docker.com", "http://hub-mirror.c.163.com", "https://mirror.baidubce.com", "https://docker.mirrors.sjtug.sjtu.edu.cn", "https://docker.nju.edu.cn" ] }
加载重启docker
systemctl restart docker
查看是否成功
docker info
标签:设置,mirrors,https,镜像,docker,com,cn From: https://www.cnblogs.com/daizichuan/p/18111208