Skip to content

Latest commit

 

History

History
65 lines (51 loc) · 2.04 KB

README.md

File metadata and controls

65 lines (51 loc) · 2.04 KB

Docker 镜像测速

Why

因为众所周知的原因,国内访问 Docker Hub 的速度非常慢。广大热心网友贡献了大量的镜像加速服务,但是速度参差不齐。

所以该项目旨在罗列互联网上分享的镜像地址,并生成测速结果。

Warning

测速利用 GitHub Actions,服务器托管在国外,因此测速结果中的速度快不代表国内拉取快。

本项目尽量保证罗列的镜像地址可用。

测速结果

Registry Status Speed Time Integrity
hub.rat.dev ✅ Good 145.94 MB/s 0.307s ✅ Verified
docker.1panel.live ✅ Good 99.78 MB/s 0.449s ✅ Verified
docker.wanpeng.top ✅ Good 88.19 MB/s 0.508s ✅ Verified
doublezonline.cloud ✅ Good 179.22 MB/s 0.250s ✅ Verified
docker.mrxn.net ✅ Good 106.93 MB/s 0.419s ✅ Verified
lynn520.xyz ❌ Failed - - -
ginger20240704.asia ✅ Good 127.28 MB/s 0.352s ✅ Verified
docker.anyhub.us.kg ✅ Good 8.93 MB/s 5.016s ✅ Verified
docker.wget.at ❌ Failed - - -
docker.awsl9527.cn ✅ Good 91.06 MB/s 0.492s ✅ Verified
dockerpull.com ❌ Failed - - -
dhub.kubesre.xyz ✅ Good 13.82 MB/s 3.240s ✅ Verified
docker.m.daocloud.io ✅ Good 12.42 MB/s 3.606s ✅ Verified
dockerhub.icu ❌ Failed - - -

Docker 配置

  1. 安装 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
  1. 配置镜像
mkdir -p /etc/docker
nano /etc/docker/daemon.json
{
     "registry-mirrors": [
             "doublezonline.cloud","hub.rat.dev","ginger20240704.asia"
     ]
}

3.重启 Docker 服务

systemctl daemon-reload
systemctl restart docker