技术&日志

镜像加速-docker

linux

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

mac-windows:

http://f1361db2.m.daocloud.io

如何查看当前是否有配置加速?

cat /etc/docker/daemon.json (如果文件不存在或没有配置地址说明系统没有配置过加速)

daemon.json

{"registry-mirrors": ["https://aiyf7r3a.mirror.aliyuncs.com", "http://hub-mirror.c.163.com","https://registry.docker-cn.com"]}

提供加速的平台-daocloud

发表评论