Open WALL-E opened 7 years ago
/etc/systemd/system/docker.service 添加一下内容
ExecStart=/usr/bin/dockerd --registry-mirror=http://535c867c.m.daocloud.io
docker run -d -p 5000:5000 \
-e STANDALONE=false \
-e MIRROR_SOURCE=https://registry-1.docker.io \
-e MIRROR_SOURCE_INDEX=https://index.docker.io \
registry
curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://535c867c.m.daocloud.io