最新国内可用的Docker镜像加速器地址收集

前言

网上搜索到的许多Docker Hub 镜像加速器文章提供的镜像地址通常不可用,或许已经失效。因此,在此做个记录,本文会长期更新保持可用。

Docker 镜像加速器列表

资源收集于网络,如果侵犯了您的权益,请联系我删除相关信息。

状态 地址
https://docker.1panel.live
https://hub.rat.dev
https://docker.actima.top
https://atomhub.openatom.cn
https://docker.m.daocloud.io
https://docker.nastool.de
https://dockerpull.org
https://registry.dockermirror.com
https://docker.m.daocloud.io
https://docker.1ms.run
https://docker.aityp.com
https://dockerhub.xisoul.cn
https://docker.imgdb.de
https://hub.littlediary.cn
https://docker.unsee.tech
https://hub.crdz.gq
https://hub.firefly.store
https://docker.kejilion.pro
https://dhub.kubesre.xyz
https://hub.xdark.top
https://docker.udayun.com
https://docker.registry.cyou
https://docker.chenby.cn
https://dockerhub.icu
https://dockerproxy.cn
https://dockerpull.com
https://docker-registry.nmqu.com
https://docker.639977.xyz
https://fast360.xyz/
https://dockerpull.cn/
https://dockerpull.pw/
https://docker.wanpeng.top/
https://doublezonline.cloud/
https://docker.xuanyuan.me/
https://dislabaiot.xyz/
https://docker.tbedu.top/
https://docker.kejilion.pro/
https://image.cloudlayer.icu/
https://docker.melikeme.cn/
https://docker.hlmirror.com/
https://docker.1panelproxy.com/
https://dhub.kubesre.xyz/
https://docker.gh-proxy.com/

方式一、配置加速地址

Ubuntu 16.04+、Debian 8+、CentOS 7+

复制代码
sudo mkdir -p /etc/docker

sudo tee /etc/docker/daemon.json <<-'EOF'

{

"registry-mirrors": [

"此处修改为从上面表格选用地址"

]

}

EOF

sudo systemctl daemon-reload

sudo systemctl restart docker

检查加速器是否生效

命令行执行 docker info,如果从结果中看到了如下内容,说明配置成功。

复制代码
Registry Mirrors:

[...]

https://docker.m.daocloud.io

Docker Hub 镜像测速

使用镜像前后,可使用 time 统计所花费的总时间。测速前先移除本地的镜像!

复制代码
$ docker rmi node:latest

$ time docker pull node:latest

Pulling repository node

[...]

real 1m14.078s

user 0m0.176s

sys 0m0.120s

方式二、替换原始命令

假如拉取原始镜像命令如下

复制代码
docker pull whyour/qinglong:latest

仅需在原命令前缀加入加速镜像地址 例如:

复制代码
docker pull dockerpull.com/whyour/qinglong:latest
  • dockerpull.com为在上面表格中选择可用镜像地址

自建

如果你有一台国外vps 可以考虑自建。

相关推荐
慢热型网友.20 分钟前
用 Docker 构建你的第一个 Python Flask 程序
python·docker·flask
云动雨颤24 分钟前
Python 自动化办公神器|一键转换所有文档为 PDF
运维·python
Fanmeang34 分钟前
OSPF高级特性之FRR
运维·网络·华为·ip·ospf·spf·frr
小张不嚣张꒰ঌ(˚ᆺ˚)໒꒱34 分钟前
Centos7在yum当中遇到Could not resolve host: mirrorlist.centos.org解决方案
linux·运维·服务器·centos
Sca_杰40 分钟前
centos指令
linux·运维·centos
几道之旅42 分钟前
centos 7 安装NVIDIA Container Toolkit
linux·运维·centos
happyhappy没有句号43 分钟前
CentOS系统如何安装和使用docker
docker·centos
DuelCode43 分钟前
Windows VMWare Centos Docker部署Nginx并配置对Springboot应用的访问代理
linux·运维·服务器
myloveasuka1 小时前
信号操作集函数
linux·运维·服务器·c语言·c++·vscode
亦舒.1 小时前
宝塔面板Nginx手动配置负载均衡实战指南
运维·nginx·负载均衡