首页 > 技术文章 > Docker pull镜像过慢解决方法

psztswcbyy 2021-01-07 15:11 原文

使用阿里云镜像加速器

[root@localhost ~]# /etc/docker
[root@localhost ~]# vi /etc/docker/daemon.json
{
"registry-mirrors": ["https://9cpn8tt6.mirror.aliyuncs.com"]
}

[root@localhost ~]# systemctl daemon-reload
[root@localhost ~]# systemctl restart docker

完美解决

推荐阅读