- 编辑
vi /etc/docker/daemon.json
- 添加
{ “registry-mirrors”: [“http://hub-mirror.c.163.com“, “https://docker.mirrors.ustc.edu.cn“, “https://reg-mirror.qiniu.com“ ] }
- 重启服务
sudo systemctl daemon-reload
sudo systemctl restart docker
vi /etc/docker/daemon.json
{ “registry-mirrors”: [“http://hub-mirror.c.163.com“, “https://docker.mirrors.ustc.edu.cn“, “https://reg-mirror.qiniu.com“ ] }
sudo systemctl daemon-reload
sudo systemctl restart docker
让时间为你证明