系统相关
首页 > 系统相关> > CentOS 7 Docker镜像加速器配置

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

标签:CentOS,mirrors,https,镜像,Docker,com,docker
来源: https://www.cnblogs.com/gotodsp/p/16685120.html