跳转至

Docker加速

kali

vim /etc/default/docker
DOCKER_OPTS="--registry-mirror=http://08bb4097.m.daocloud.io"
systemctl daemon-reload
service docker restart
title


CentOS7

vim /etc/sysconfig/docker
ADD_REGISTRY='--add-registry http://08bb4097.m.daocloud.io'
systemctl restart docker 

其他版本:

curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://08bb4097.m.daocloud.io