Docker加速器

1、Linux

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

如果docker无法重启,检查/etc/docker/daemon.json中的格式是否正确

2、Windows

右键右下角docker图标Setting->Daemon->Registry mirrors中输入

http://87b49509.m.daocloud.io,点击Apply后等待docker重启

3、MacOS同Windows下类似,在Daemon设置中添加相同的URL

猜你喜欢

转载自theseus.iteye.com/blog/2386689