Loading

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

posted @ 2022-09-11 23:15  dai.sp  阅读(52)  评论(0编辑  收藏  举报