docker镜像加速

http://www.yunweipai.com/archives/20727.html?utm_source=tuicool&utm_medium=referral

vi  /lib/systemd/system/docker.service 

ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock --registry-mirror=https://regis

try.docker-cn.com

也可选用网易的镜像地址:http://hub-mirror.c.163.com

{

"registry-mirrors": ["http://hub-mirror.c.163.com"]

}

systemctl daemon-reload

systemctl restart  docker

systemctl status  docker

你可能感兴趣的:(docker镜像加速)