docker镜像加速

直接修改 /etc/docker/daemon.json (docker 版本 >= 1.10 时) 内容为:

{“registry-mirrors”: [“https://registry.cn-hangzhou.aliyuncs.com”]}

修改后重启服务:

systemctl daemon-reload systemctl restart docker

Published At