[root@localhost ~]# vi /etc/docker/daemon.json # 将docker镜像源修改为国内阿里云源
{
"registry-mirrors": ["https://9cpn8tt6.mirror.aliyuncs.com"]
}
[root@localhost ~]# systemctl daemon-reload && systemctl restart docker
[root@localhost ~]# vi /etc/docker/daemon.json # 将docker镜像源修改为国内阿里云源
{
"registry-mirrors": ["https://9cpn8tt6.mirror.aliyuncs.com"]
}
[root@localhost ~]# systemctl daemon-reload && systemctl restart docker