CentOS 7 Docker镜像加速器配置
Docker pull镜像速度慢解决方案
vim /etc/docker/daemon.json
追加以下国内镜像地址:
{
"registry-mirrors":[
"https://docker.mirrors.ustc.edu.cn",
"http://hub-mirror.c.163.com",
"https://ajjpps56.mirror.aliyuncs.com"
]
}
再刷新配置重启Docker
sudo systemctl daemon-reload
sudo systemctl restart docker
参考阿里云镜像加速器配置:https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors