Docker 阿里云镜像加速
1、进入阿里云镜像加速页面;
https://cr.console.aliyun.com/#/accelerator
2、修改/etc/docker/daemon.json文件配置,没有则新建;
1 2 3 | { "registry-mirrors" : [ "https://72idtxd8.mirror.aliyuncs.com" ] } |
3、重启daemon;
1 | systemctl daemon-reload |
4、重启docker服务;
1 | systemctl restart docker |