因为众所周知的原因,国内访问 Docker Hub 的速度非常慢。广大热心网友贡献了大量的镜像加速服务,但是速度参差不齐。
所以该项目旨在罗列互联网上分享的镜像地址,并生成测速结果。
Warning
测速利用 GitHub Actions,服务器托管在国外,因此测速结果中的速度快不代表国内拉取快。
本项目尽量保证罗列的镜像地址可用。
Registry | Status | Speed | Time | Integrity |
---|---|---|---|---|
hub.rat.dev | ✅ Good | 45.28 MB/s | 1.106s | ✅ Verified |
docker.1panel.live | ✅ Good | 58.43 MB/s | 0.857s | ✅ Verified |
docker.wanpeng.top | ✅ Good | 48.24 MB/s | 1.038s | ✅ Verified |
doublezonline.cloud | ✅ Good | 57.83 MB/s | 0.866s | ✅ Verified |
docker.mrxn.net | ✅ Good | 42.76 MB/s | 1.171s | ✅ Verified |
docker.anyhub.us.kg | ✅ Good | 8.44 MB/s | 5.932s | ✅ Verified |
docker.wget.at | ❌ Failed | - | - | - |
docker.awsl9527.cn | ✅ Good | 46.07 MB/s | 1.087s | ✅ Verified |
dockerpull.org | ✅ Good | 9.84 MB/s | 5.085s | ✅ Verified |
dhub.kubesre.xyz | ❌ Failed | - | - | - |
docker.m.daocloud.io | ✅ Good | 16.19 MB/s | 3.092s | ✅ Verified |
- 安装 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": [
"docker.1panel.live","doublezonline.cloud","docker.wanpeng.top"
]
}
3.重启 Docker 服务
systemctl daemon-reload
systemctl restart docker