因为众所周知的原因,国内访问 Docker Hub 的速度非常慢。广大热心网友贡献了大量的镜像加速服务,但是速度参差不齐。
所以该项目旨在罗列互联网上分享的镜像地址,并生成测速结果。
Warning
测速利用 GitHub Actions,服务器托管在国外,因此测速结果中的速度快不代表国内拉取快。
本项目尽量保证罗列的镜像地址可用。
Registry | Status | Speed | Time | Integrity |
---|---|---|---|---|
hub.rat.dev | ✅ Good | 41.76 MB/s | 1.199s | ✅ Verified |
docker.1panel.live | ✅ Good | 56.71 MB/s | 0.883s | ✅ Verified |
docker.wanpeng.top | ✅ Good | 57.17 MB/s | 0.876s | ✅ Verified |
doublezonline.cloud | ✅ Good | 58.91 MB/s | 0.850s | ✅ Verified |
docker.mrxn.net | ✅ Good | 42.33 MB/s | 1.183s | ✅ Verified |
docker.anyhub.us.kg | ❌ Failed | - | - | - |
docker.imgdb.de | ✅ Good | 9.66 MB/s | 5.180s | ✅ Verified |
docker.awsl9527.cn | ✅ Good | 46.98 MB/s | 1.066s | ✅ Verified |
dockerpull.org | ✅ Good | 51.52 MB/s | 0.972s | ✅ Verified |
docker.m.daocloud.io | ❌ Failed | - | - | - |
- 安装 Docker
export DOWNLOAD_URL="https://mirrors.tuna.tsinghua.edu.cn/docker-ce"
# 如您使用 curl
curl -fsSL https://raw.githubusercontent.com/docker/docker-install/master/install.sh | sh
# 如您使用 wget
wget -O- https://raw.githubusercontent.com/docker/docker-install/master/install.sh | sh
- 配置镜像
mkdir -p /etc/docker
nano /etc/docker/daemon.json
{
"registry-mirrors": [
"doublezonline.cloud","docker.wanpeng.top","docker.1panel.live"
]
}
3.重启 Docker 服务
systemctl daemon-reload
systemctl restart docker