因为众所周知的原因,国内访问 Docker Hub 的速度非常慢。广大热心网友贡献了大量的镜像加速服务,但是速度参差不齐。
所以该项目旨在罗列互联网上分享的镜像地址,并生成测速结果。
Warning
测速利用 GitHub Actions,服务器托管在国外,因此测速结果中的速度快不代表国内拉取快。
本项目尽量保证罗列的镜像地址可用。
Registry | Status | Speed | Time | Integrity |
---|---|---|---|---|
hub.rat.dev | ✅ Good | 72.92 MB/s | 0.615s | ✅ Verified |
docker.1panel.live | ✅ Good | 59.79 MB/s | 0.750s | ✅ Verified |
docker.wanpeng.top | ✅ Good | 69.63 MB/s | 0.644s | ✅ Verified |
doublezonline.cloud | ✅ Good | 74.12 MB/s | 0.605s | ✅ Verified |
docker.mrxn.net | ✅ Good | 58.93 MB/s | 0.761s | ✅ Verified |
docker.anyhub.us.kg | ✅ Good | 68.78 MB/s | 0.652s | ✅ Verified |
docker.imgdb.de | ✅ Good | 10.25 MB/s | 4.375s | ✅ Verified |
docker.awsl9527.cn | ✅ Good | 51.90 MB/s | 0.864s | ✅ Verified |
dockerpull.cn | ✅ Good | 61.18 MB/s | 0.733s | ✅ Verified |
docker.m.daocloud.io | ✅ Good | 17.53 MB/s | 2.557s | ✅ 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": [
"doublezonline.cloud","hub.rat.dev","docker.wanpeng.top"
]
}
3.重启 Docker 服务
systemctl daemon-reload
systemctl restart docker