Skip to content

Latest commit

 

History

History
61 lines (47 loc) · 1.86 KB

README.md

File metadata and controls

61 lines (47 loc) · 1.86 KB

Docker 镜像测速

Why

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

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

Warning

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

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

测速结果

Registry Status Speed Time Integrity
hub.rat.dev ✅ Good 128.74 MB/s 0.389s ✅ Verified
docker.1panel.live ✅ Good 119.24 MB/s 0.420s ✅ Verified
docker.wanpeng.top ✅ Good 79.74 MB/s 0.628s ✅ Verified
doublezonline.cloud ✅ Good 170.34 MB/s 0.294s ✅ Verified
docker.mrxn.net ✅ Good 134.26 MB/s 0.373s ✅ Verified
docker.anyhub.us.kg ✅ Good 27.44 MB/s 1.825s ✅ Verified
docker.imgdb.de ✅ Good 9.13 MB/s 5.480s ✅ Verified
docker.awsl9527.cn ✅ Good 84.59 MB/s 0.592s ✅ Verified
dockerpull.org ✅ Good 19.99 MB/s 2.505s ✅ Verified
docker.m.daocloud.io ✅ Good 14.16 MB/s 3.535s ✅ Verified

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","docker.mrxn.net","hub.rat.dev"
     ]
}

3.重启 Docker 服务

systemctl daemon-reload
systemctl restart docker