vault backup: 2026-01-05 13:03:55
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
---
|
||||
page-title: "DockerHub 国内镜像源列表(2024 年 6 月 18 日 亲测可用) - V2EX"
|
||||
url: https://www.v2ex.com/t/1050454
|
||||
date: "2024-08-30 12:35:25"
|
||||
---
|
||||
|
||||
> sudo tee /etc/docker/daemon.json <<EOF { "registry-mirrors": \[ "https://hub.uuuadc.top", "https://docker.anyhub.us.kg", "https://dockerhub.jobcher.com", "https://dockerhub.icu", "https://docker.ckyl.me", "https://docker.awsl9527.cn" \] } EOF
|
||||
|
||||
---
|
||||
|
||||
## DockerHub 国内镜像源列表
|
||||
|
||||
此列表只收录无需限定条件的 DockerHub 镜像源,感谢这些公益服务者。
|
||||
|
||||
**2024 年 6 月 18 日 亲测可用**
|
||||
|
||||
| DockerHub 镜像仓库 | 镜像加速器地址 |
|
||||
| --- | --- |
|
||||
| [Docker 镜像加速站](https://hub.uuuadc.top/) | `https://hub.uuuadc.top/` |
|
||||
| | `docker.1panel.live` |
|
||||
| | `hub.rat.dev` |
|
||||
| [DockerHub 镜像加速代理](https://docker.anyhub.us.kg/) | `[https://docker.anyhub.us.kg](https://docker.anyhub.us.kg/)` |
|
||||
| | `[https://docker.chenby.cn](https://docker.chenby.cn/)` |
|
||||
| | `[https://dockerhub.jobcher.com/](https://dockerhub.jobcher.com/)` |
|
||||
| [镜像使用说明](https://dockerhub.icu/) | `https://dockerhub.icu` |
|
||||
| [Docker 镜像加速站](https://docker.ckyl.me/) | `[https://docker.ckyl.me](https://docker.ckyl.me/)` |
|
||||
| [镜像使用说明](https://docker.awsl9527.cn/) | `[https://docker.awsl9527.cn](https://docker.awsl9527.cn/)` |
|
||||
| [镜像使用说明](https://docker.hpcloud.cloud/) | `https://docker.hpcloud.cloud` |
|
||||
| [AtomHub 可信镜像仓库平台](https://atomhub.openatom.cn/) (只包含基础镜像,共 336 个) | `[https://atomhub.openatom.cn](https://atomhub.openatom.cn/)` |
|
||||
| [DaoCloud 镜像站](https://github.com/DaoCloud/public-image-mirror) | `[https://docker.m.daocloud.io](https://docker.m.daocloud.io/)` |
|
||||
|
||||
### 使用教程
|
||||
|
||||
1. 为了加速镜像拉取,使用以下命令设置**registry mirror**
|
||||
|
||||
> 支持系统:Ubuntu 16.04+、Debian 8+、CentOS 7+
|
||||
|
||||
```
|
||||
sudo mkdir -p /etc/docker
|
||||
sudo tee /etc/docker/daemon.json <<EOF
|
||||
{
|
||||
"registry-mirrors": [
|
||||
"https://hub.uuuadc.top",
|
||||
"https://docker.anyhub.us.kg",
|
||||
"https://dockerhub.jobcher.com",
|
||||
"https://dockerhub.icu",
|
||||
"https://docker.ckyl.me",
|
||||
"https://docker.awsl9527.cn"
|
||||
]
|
||||
}
|
||||
EOF
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl restart docker
|
||||
```
|
||||
|
||||
1. 使用 DockerHub Proxy ,以下以 `hub.uuuadc.top` 为例:可以根据列表自行替换
|
||||
|
||||
```
|
||||
docker pull hub.uuuadc.top/library/mysql:5.7
|
||||
```
|
||||
|
||||
说明:library 是一个特殊的命名空间,它代表的是官方镜像。如果是某个用户的镜像就把 library 替换为镜像的用户名
|
||||
|
||||
原文链接: [https://www.wangdu.site/course/2109.html](https://www.wangdu.site/course/2109.html)
|
||||
Reference in New Issue
Block a user