[root@localhost ~]# vim /etc/docker/daemon.json
{
"registry-mirrors": ["https://nmp74w3y.mirror.aliyuncs.com"]
}
[root@localhost ~]# sudo systemctl daemon-reload
[root@localhost ~]# sudo systemctl restart docker
[root@localhost ~]# vim /etc/docker/daemon.json
{
"registry-mirrors": ["https://nmp74w3y.mirror.aliyuncs.com"]
}
[root@localhost ~]# sudo systemctl daemon-reload
[root@localhost ~]# sudo systemctl restart docker