Docker Speed Up
镜像加速
使用此仓库以加速镜像拉取registry mirror:
tee /etc/docker/daemon.json <<EOF
{
"registry-mirrors": ["https://hub.zzz.moe"]
}
EOF
操作系统 |
配置文件的路径 |
Linux, 正常安装 |
/etc/docker/daemon.json |
Linux, 非root |
~/.config/docker/daemon.json |
Windows |
C:\ProgramData\docker\config |
Docker Desktop |
C:\Users\<user>\.docker\daemon.json |
systemctl daemon-reload
systemctl restart docker
用法:
原拉取镜像命令:
docker pull library/alpine:latest
加速拉取镜像命令:
docker pull hub.zzz.moe/library/alpine:latest
托管于 HK, Hong Kong (hkg3-01:M)
相关:File Speed Up,Github Speed Up
©2024 Powered by zzz.moe