配置Docker加速器
1.配置加速器
[root@dock docker]# curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://a9258b26.m.daocloud.io docker version >= 1.12 {"registry-mirrors": ["https://l812x66e.mirror.aliyuncs.com"]}
Success. You need to restart docker to take effect: sudo systemctl restart docker
2.验证配置结果
[root@dock docker]# cat /etc/docker/daemon.json {"registry-mirrors": ["https://l812x66e.mirror.aliyuncs.com"]}
阿里云个人加速器: https://cr.console.aliyun.com/cn-beijing/mirrors