# Docker/DockerHub 国内镜像源/加速列表（6月18日更新-长期维护）

链接地址：https://cloud.tencent.com/developer/article/2485043

### **前言**

本列表自 2024 年维护以来，受到广大开发者热情欢迎，目前以帮助数十万开发者拉取<span class="mod-overview__keyword" style="overflow-wrap: break-word; margin: 0px 4px; cursor: pointer; color: rgb(0, 82, 217); padding-right: 10px; background-image: url('https://bost.lesrec.cn/images/icon-keyword_32a.svg'); background-position: right 2px; background-repeat: no-repeat; background-size: 8px 8px; box-shadow: none; box-sizing: border-box; list-style: inherit; white-space: pre-wrap; word-break: break-all;">docker</span>镜像。许多曾经常用的国内镜像站（包括各种云服务商和高校镜像站）已经无法使用。因此，本人开始搜索并汇总了目前可用的镜像站和镜像加速地址，并定期测试它们的可用性，公益更新这个列表。

本列表为科研工作者提供 docker 镜像网站，网络不好的同学可以使用镜像，或者推荐给身边有需要的朋友使用这些 docker 镜像。

> 注意：本文仅供学术研究使用。⚠️长期更新，强烈建议收藏！

6 月 18 日确认可用：https://dev.xuanyuan.dev （该源需要登录，速度稳定，支持群晖nas，极空间nas等）

6 月 18 日确认可用：https://docker.xuanyuan.me

docker hub 镜像搜索功能：https://dockers.xuanyuan.me，方便大家搜索正确的 docker tags。

docker 中文配置文档：https://dockerdocs.xuanyuan.me

### **国内主流 Docker Hub 镜像加速站清单**

<div class="mod-content__markdown" id="bkmrk-%E5%9C%B0%E5%9D%80-%E8%BF%90%E8%90%A5%E6%96%B9-%E7%B1%BB%E5%9E%8B-%E8%AF%B4%E6%98%8E-https%3A%2F" style="overflow-wrap: break-word; margin: 0px; padding: 0px; color: rgb(24, 24, 24); font-family: 'Pingfang SC', 'helvetica neuepingfang SC', 'helvetica neue', arial, 'hiragino sans gb', 'microsoft yahei ui', 'microsoft yahei', simsun, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><div style="overflow-wrap: break-word; margin: 0px; padding: 0px;"><div class="rno-markdown new-version rno-" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; font-weight: 400; font-size: 14px; line-height: 24px; color: rgb(51, 51, 51); text-size-adjust: none; -webkit-font-smoothing: antialiased; white-space: pre-wrap; font-family: 'pingfang SC', 'helvetica neue', arial, 'hiragino sans gb', 'microsoft yahei ui', 'microsoft yahei', simsun, sans-serif;"><div class="table-wrapper" style="overflow-wrap: break-word; margin: 12px 0px; padding: 0px; box-sizing: border-box; list-style: inherit; outline: none; position: relative; overflow-x: auto;"><table style="overflow-wrap: break-word; border-collapse: collapse; border-spacing: 0px; box-sizing: border-box; list-style: inherit; width: 996px; margin: 0px;"><thead style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><th style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); background-color: rgb(245, 247, 250); color: rgb(103, 116, 137); text-align: left; font-weight: normal; word-break: keep-all;">地址

</th><th style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); background-color: rgb(245, 247, 250); color: rgb(103, 116, 137); text-align: left; font-weight: normal; word-break: keep-all;">运营方

</th><th style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); background-color: rgb(245, 247, 250); color: rgb(103, 116, 137); text-align: left; font-weight: normal; word-break: keep-all;">类型

</th><th style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); background-color: rgb(245, 247, 250); color: rgb(103, 116, 137); text-align: left; font-weight: normal; word-break: keep-all;">说明

</th></tr></thead><tbody style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://docker.xuanyuan.me

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">轩辕镜像免费版

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">Cloudflare+境内CDN

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">官网支持搜索镜像、配置简单、有会员解答群、屏蔽违法内容、境内公司运营（非常稳定）

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://dev.xuanyuan.dev

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">轩辕镜像会员版

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">Cloudflare+境内CDN

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">需要登录，速度稳定，支持爱快，群晖，极空间，威联通 nas，支持搜索镜像、配置简单、有会员解答群、屏蔽违法内容、境内公司运营（非常稳定）

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://mirror.ccs.tencentyun.com

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">腾讯云

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">境内CDN

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">仅腾讯云服务器内推荐使用

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://xxx.mirror.aliyuncs.com

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">阿里云

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">境内CDN

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">仅阿里云服务器内推荐使用（https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images?spm=a2c4g.11186623.0.i7）

</td></tr></tbody></table>

</div></div></div></div>### **使用教程**

###### **为了加速镜像拉取，使用以下命令设置** **registry mirror**

> 支持系统：<span class="mod-overview__keyword" style="overflow-wrap: break-word; margin: 0px 4px; cursor: pointer; color: rgb(0, 82, 217); padding-right: 10px; background-image: url('https://bost.lesrec.cn/images/icon-keyword_32a.svg'); background-position: right 2px; background-repeat: no-repeat; background-size: 8px 8px; box-shadow: none; box-sizing: border-box; list-style: inherit; white-space: pre-wrap; word-break: break-all;">Ubuntu</span> 22.04+、<span class="mod-overview__keyword" style="overflow-wrap: break-word; margin: 0px 4px; cursor: pointer; color: rgb(0, 82, 217); padding-right: 10px; background-image: url('https://bost.lesrec.cn/images/icon-keyword_32a.svg'); background-position: right 2px; background-repeat: no-repeat; background-size: 8px 8px; box-shadow: none; box-sizing: border-box; list-style: inherit; white-space: pre-wrap; word-break: break-all;">Debian</span> 10+、<span class="mod-overview__keyword" style="overflow-wrap: break-word; margin: 0px 4px; cursor: pointer; color: rgb(0, 82, 217); padding-right: 10px; background-image: url('https://bost.lesrec.cn/images/icon-keyword_32a.svg'); background-position: right 2px; background-repeat: no-repeat; background-size: 8px 8px; box-shadow: none; box-sizing: border-box; list-style: inherit; white-space: pre-wrap; word-break: break-all;">CentOS</span> 8+

<div class="mod-content__markdown" id="bkmrk-%E4%BB%A3%E7%A0%81%E8%AF%AD%E8%A8%80%EF%BC%9Ajavascript-%E4%BB%A3%E7%A0%81%E8%BF%90%E8%A1%8C" style="overflow-wrap: break-word; margin: 0px; padding: 0px; color: rgb(24, 24, 24); font-family: 'Pingfang SC', 'helvetica neuepingfang SC', 'helvetica neue', arial, 'hiragino sans gb', 'microsoft yahei ui', 'microsoft yahei', simsun, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><div style="overflow-wrap: break-word; margin: 0px; padding: 0px;"><div class="rno-markdown new-version rno-" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; font-weight: 400; font-size: 14px; line-height: 24px; color: rgb(51, 51, 51); text-size-adjust: none; -webkit-font-smoothing: antialiased; white-space: pre-wrap; font-family: 'pingfang SC', 'helvetica neue', arial, 'hiragino sans gb', 'microsoft yahei ui', 'microsoft yahei', simsun, sans-serif;"><div class="rno-markdown-code" qct-area="代码块-0-javascript" qct-exposure="" style="overflow-wrap: break-word; margin: 24px 0px; padding: 0px; box-sizing: border-box; list-style: inherit;"><div class="rno-markdown-code-toolbar" style="overflow-wrap: break-word; margin: 0px; padding: 6px 8px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 228, 233); background: rgb(255, 255, 255); display: flex; align-items: center; justify-content: space-between; gap: 8px;"><div class="rno-markdown-code-toolbar-info" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; line-height: 22px; color: rgb(0, 0, 0); font-size: 12px; font-weight: 400; flex: 1 1 0%; max-width: 48%; white-space: nowrap;"><div class="rno-markdown-code-toolbar-item is-type" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; white-space: nowrap; align-items: center; display: inline-block; vertical-align: middle; max-width: calc(100% - 96px); overflow: hidden; text-overflow: ellipsis;"><span class="is-m-hidden" style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; font-weight: 500;">代码语言：</span>javascript</div><div class="rno-markdown-code-toolbar-item is-num" style="overflow-wrap: break-word; margin: 0px; padding: 0px 0px 0px 48px; box-sizing: border-box; list-style: inherit; position: relative; white-space: nowrap; align-items: center; display: inline-block; vertical-align: middle; font-weight: 500;"><span class="is-m-hidden" style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;">代码</span>运行次数：0</div></div><div class="rno-markdown-code-toolbar-opt" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; display: flex; align-items: center; gap: 20px;"><div class="rno-markdown-code-toolbar-opt-icon-btn" qct-area="运行" qct-click="" qct-exposure="" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; cursor: pointer; color: rgba(0, 0, 0, 0.9); font-size: 12px; font-weight: 500; line-height: 22px;"><svg fill="none" height="16" viewbox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M6.66666 10.9999L10.6667 7.99992L6.66666 4.99992V10.9999ZM7.99999 1.33325C4.31999 1.33325 1.33333 4.31992 1.33333 7.99992C1.33333 11.6799 4.31999 14.6666 7.99999 14.6666C11.68 14.6666 14.6667 11.6799 14.6667 7.99992C14.6667 4.31992 11.68 1.33325 7.99999 1.33325ZM7.99999 13.3333C5.05999 13.3333 2.66666 10.9399 2.66666 7.99992C2.66666 5.05992 5.05999 2.66659 7.99999 2.66659C10.94 2.66659 13.3333 5.05992 13.3333 7.99992C13.3333 10.9399 10.94 13.3333 7.99999 13.3333Z" fill="currentcolor"></path></svg><span class="is-m-hidden" style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;">运行</span></div><div class="rno-markdown-code-toolbar-opt-icon-btn is-ai-btn" qct-area="AI代码解释" qct-click="" qct-exposure="" style="overflow-wrap: break-word; margin: 0px; padding: 0px 10px; box-sizing: border-box; list-style: inherit; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; cursor: pointer; color: rgba(0, 0, 0, 0.9); font-size: 12px; font-weight: 500; line-height: 22px; position: relative; overflow: hidden; border-radius: 12px; z-index: 0;"><div class="chat-ui-ai-logo css-2jdwfl" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; z-index: 2; width: 14px; height: 14px;">  
</div><span style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; position: relative; z-index: 2;">AI代码解释</span></div></div></div><div class="developer-code-block" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative;"><div class="rno-markdown-code-opt-float" qct-area="复制" qct-click="" qct-exposure="" style="overflow-wrap: break-word; margin: 0px; padding: 3px 8px; box-sizing: border-box; list-style: inherit; opacity: 0; transform: translateY(2px); position: absolute; right: 12px; top: 12px; z-index: 1; display: flex; align-items: center; gap: 6px; border-radius: 12px; background: rgba(206, 206, 206, 0.6); transition: 0.2s ease-in-out;"><div class="rno-markdown-code-icon-btn qa-r-editor-btn" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; display: inline-flex; vertical-align: middle; border: none; background-color: transparent; cursor: pointer; text-align: center; align-items: center; gap: 6px; flex: 0 0 auto; font-size: 12px; font-weight: 500; line-height: 22px; color: rgb(255, 255, 255);"><svg fill="none" height="16" viewbox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M4.5 15.5V3.5H14.5V15.5H4.5ZM12.5 5.5H6.5V13.5H12.5V5.5ZM9.5 2.5H3.5V12.5H1.5V0.5H11.5V2.5H9.5Z" fill="currentcolor" fill-rule="evenodd"></path></svg></div></div></div></div></div></div></div>```javascript
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<EOF
{
    "registry-mirrors": [
        "https://docker.xuanyuan.me"
    ]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
```

###### **使用DockerHub 代理，以下以** docker.xuanyuan.me **为例：可以根据列表自行替换**

<div class="mod-content__markdown" id="bkmrk-%E4%BB%A3%E7%A0%81%E8%AF%AD%E8%A8%80%EF%BC%9Ajavascript-%E4%BB%A3%E7%A0%81%E8%BF%90%E8%A1%8C-1" style="overflow-wrap: break-word; margin: 0px; padding: 0px; color: rgb(24, 24, 24); font-family: 'Pingfang SC', 'helvetica neuepingfang SC', 'helvetica neue', arial, 'hiragino sans gb', 'microsoft yahei ui', 'microsoft yahei', simsun, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><div style="overflow-wrap: break-word; margin: 0px; padding: 0px;"><div class="rno-markdown new-version rno-" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; font-weight: 400; font-size: 14px; line-height: 24px; color: rgb(51, 51, 51); text-size-adjust: none; -webkit-font-smoothing: antialiased; white-space: pre-wrap; font-family: 'pingfang SC', 'helvetica neue', arial, 'hiragino sans gb', 'microsoft yahei ui', 'microsoft yahei', simsun, sans-serif;"><div class="rno-markdown-code" qct-area="代码块-0-javascript" qct-exposure="" style="overflow-wrap: break-word; margin: 24px 0px; padding: 0px; box-sizing: border-box; list-style: inherit;"><div class="rno-markdown-code-toolbar" style="overflow-wrap: break-word; margin: 0px; padding: 6px 8px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 228, 233); background: rgb(255, 255, 255); display: flex; align-items: center; justify-content: space-between; gap: 8px;"><div class="rno-markdown-code-toolbar-info" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; line-height: 22px; color: rgb(0, 0, 0); font-size: 12px; font-weight: 400; flex: 1 1 0%; max-width: 48%; white-space: nowrap;"><div class="rno-markdown-code-toolbar-item is-type" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; white-space: nowrap; align-items: center; display: inline-block; vertical-align: middle; max-width: calc(100% - 96px); overflow: hidden; text-overflow: ellipsis;"><span class="is-m-hidden" style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; font-weight: 500;">代码语言：</span>javascript</div><div class="rno-markdown-code-toolbar-item is-num" style="overflow-wrap: break-word; margin: 0px; padding: 0px 0px 0px 48px; box-sizing: border-box; list-style: inherit; position: relative; white-space: nowrap; align-items: center; display: inline-block; vertical-align: middle; font-weight: 500;"><span class="is-m-hidden" style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;">代码</span>运行次数：0</div></div><div class="rno-markdown-code-toolbar-opt" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; display: flex; align-items: center; gap: 20px;"><div class="rno-markdown-code-toolbar-opt-icon-btn" qct-area="运行" qct-click="" qct-exposure="" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; cursor: pointer; color: rgba(0, 0, 0, 0.9); font-size: 12px; font-weight: 500; line-height: 22px;"><svg fill="none" height="16" viewbox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M6.66666 10.9999L10.6667 7.99992L6.66666 4.99992V10.9999ZM7.99999 1.33325C4.31999 1.33325 1.33333 4.31992 1.33333 7.99992C1.33333 11.6799 4.31999 14.6666 7.99999 14.6666C11.68 14.6666 14.6667 11.6799 14.6667 7.99992C14.6667 4.31992 11.68 1.33325 7.99999 1.33325ZM7.99999 13.3333C5.05999 13.3333 2.66666 10.9399 2.66666 7.99992C2.66666 5.05992 5.05999 2.66659 7.99999 2.66659C10.94 2.66659 13.3333 5.05992 13.3333 7.99992C13.3333 10.9399 10.94 13.3333 7.99999 13.3333Z" fill="currentcolor"></path></svg><span class="is-m-hidden" style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;">运行</span></div><div class="rno-markdown-code-toolbar-opt-icon-btn is-ai-btn" qct-area="AI代码解释" qct-click="" qct-exposure="" style="overflow-wrap: break-word; margin: 0px; padding: 0px 10px; box-sizing: border-box; list-style: inherit; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; cursor: pointer; color: rgba(0, 0, 0, 0.9); font-size: 12px; font-weight: 500; line-height: 22px; position: relative; overflow: hidden; border-radius: 12px; z-index: 0;"><div class="chat-ui-ai-logo css-2jdwfl" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; z-index: 2; width: 14px; height: 14px;">  
</div><span style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; position: relative; z-index: 2;">AI代码解释</span></div></div></div><div class="developer-code-block" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative;"><div class="rno-markdown-code-opt-float" qct-area="复制" qct-click="" qct-exposure="" style="overflow-wrap: break-word; margin: 0px; padding: 3px 8px; box-sizing: border-box; list-style: inherit; opacity: 0; transform: translateY(2px); position: absolute; right: 12px; top: 12px; z-index: 1; display: flex; align-items: center; gap: 6px; border-radius: 12px; background: rgba(206, 206, 206, 0.6); transition: 0.2s ease-in-out;"><div class="rno-markdown-code-icon-btn qa-r-editor-btn" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; display: inline-flex; vertical-align: middle; border: none; background-color: transparent; cursor: pointer; text-align: center; align-items: center; gap: 6px; flex: 0 0 auto; font-size: 12px; font-weight: 500; line-height: 22px; color: rgb(255, 255, 255);"><svg fill="none" height="16" viewbox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M4.5 15.5V3.5H14.5V15.5H4.5ZM12.5 5.5H6.5V13.5H12.5V5.5ZM9.5 2.5H3.5V12.5H1.5V0.5H11.5V2.5H9.5Z" fill="currentcolor" fill-rule="evenodd"></path></svg></div></div></div></div></div></div></div>```javascript
docker pull docker.xuanyuan.me/library/mysql:5.7
```

说明：library是一个特殊的命名空间，它代表的是官方镜像。如果是某个用户的镜像就把library替换为镜像的用户名。

#### **Linux**

运行以下命令进行配置

<div class="mod-content__markdown" id="bkmrk-%E4%BB%A3%E7%A0%81%E8%AF%AD%E8%A8%80%EF%BC%9Ajavascript-%E4%BB%A3%E7%A0%81%E8%BF%90%E8%A1%8C-2" style="overflow-wrap: break-word; margin: 0px; padding: 0px; color: rgb(24, 24, 24); font-family: 'Pingfang SC', 'helvetica neuepingfang SC', 'helvetica neue', arial, 'hiragino sans gb', 'microsoft yahei ui', 'microsoft yahei', simsun, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><div style="overflow-wrap: break-word; margin: 0px; padding: 0px;"><div class="rno-markdown new-version rno-" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; font-weight: 400; font-size: 14px; line-height: 24px; color: rgb(51, 51, 51); text-size-adjust: none; -webkit-font-smoothing: antialiased; white-space: pre-wrap; font-family: 'pingfang SC', 'helvetica neue', arial, 'hiragino sans gb', 'microsoft yahei ui', 'microsoft yahei', simsun, sans-serif;"><div class="rno-markdown-code" qct-area="代码块-0-javascript" qct-exposure="" style="overflow-wrap: break-word; margin: 24px 0px; padding: 0px; box-sizing: border-box; list-style: inherit;"><div class="rno-markdown-code-toolbar" style="overflow-wrap: break-word; margin: 0px; padding: 6px 8px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 228, 233); background: rgb(255, 255, 255); display: flex; align-items: center; justify-content: space-between; gap: 8px;"><div class="rno-markdown-code-toolbar-info" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; line-height: 22px; color: rgb(0, 0, 0); font-size: 12px; font-weight: 400; flex: 1 1 0%; max-width: 48%; white-space: nowrap;"><div class="rno-markdown-code-toolbar-item is-type" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; white-space: nowrap; align-items: center; display: inline-block; vertical-align: middle; max-width: calc(100% - 96px); overflow: hidden; text-overflow: ellipsis;"><span class="is-m-hidden" style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; font-weight: 500;">代码语言：</span>javascript</div><div class="rno-markdown-code-toolbar-item is-num" style="overflow-wrap: break-word; margin: 0px; padding: 0px 0px 0px 48px; box-sizing: border-box; list-style: inherit; position: relative; white-space: nowrap; align-items: center; display: inline-block; vertical-align: middle; font-weight: 500;"><span class="is-m-hidden" style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;">代码</span>运行次数：0</div></div><div class="rno-markdown-code-toolbar-opt" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; display: flex; align-items: center; gap: 20px;"><div class="rno-markdown-code-toolbar-opt-icon-btn" qct-area="运行" qct-click="" qct-exposure="" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; cursor: pointer; color: rgba(0, 0, 0, 0.9); font-size: 12px; font-weight: 500; line-height: 22px;"><svg fill="none" height="16" viewbox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M6.66666 10.9999L10.6667 7.99992L6.66666 4.99992V10.9999ZM7.99999 1.33325C4.31999 1.33325 1.33333 4.31992 1.33333 7.99992C1.33333 11.6799 4.31999 14.6666 7.99999 14.6666C11.68 14.6666 14.6667 11.6799 14.6667 7.99992C14.6667 4.31992 11.68 1.33325 7.99999 1.33325ZM7.99999 13.3333C5.05999 13.3333 2.66666 10.9399 2.66666 7.99992C2.66666 5.05992 5.05999 2.66659 7.99999 2.66659C10.94 2.66659 13.3333 5.05992 13.3333 7.99992C13.3333 10.9399 10.94 13.3333 7.99999 13.3333Z" fill="currentcolor"></path></svg><span class="is-m-hidden" style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;">运行</span></div><div class="rno-markdown-code-toolbar-opt-icon-btn is-ai-btn" qct-area="AI代码解释" qct-click="" qct-exposure="" style="overflow-wrap: break-word; margin: 0px; padding: 0px 10px; box-sizing: border-box; list-style: inherit; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; cursor: pointer; color: rgba(0, 0, 0, 0.9); font-size: 12px; font-weight: 500; line-height: 22px; position: relative; overflow: hidden; border-radius: 12px; z-index: 0;"><div class="chat-ui-ai-logo css-2jdwfl" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; z-index: 2; width: 14px; height: 14px;">  
</div><span style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; position: relative; z-index: 2;">AI代码解释</span></div></div></div><div class="developer-code-block" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative;"><div class="rno-markdown-code-opt-float" qct-area="复制" qct-click="" qct-exposure="" style="overflow-wrap: break-word; margin: 0px; padding: 3px 8px; box-sizing: border-box; list-style: inherit; opacity: 0; transform: translateY(2px); position: absolute; right: 12px; top: 12px; z-index: 1; display: flex; align-items: center; gap: 6px; border-radius: 12px; background: rgba(206, 206, 206, 0.6); transition: 0.2s ease-in-out;"><div class="rno-markdown-code-icon-btn qa-r-editor-btn" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; display: inline-flex; vertical-align: middle; border: none; background-color: transparent; cursor: pointer; text-align: center; align-items: center; gap: 6px; flex: 0 0 auto; font-size: 12px; font-weight: 500; line-height: 22px; color: rgb(255, 255, 255);"><svg fill="none" height="16" viewbox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M4.5 15.5V3.5H14.5V15.5H4.5ZM12.5 5.5H6.5V13.5H12.5V5.5ZM9.5 2.5H3.5V12.5H1.5V0.5H11.5V2.5H9.5Z" fill="currentcolor" fill-rule="evenodd"></path></svg></div></div></div></div></div></div></div>```javascript
#!/bin/sh
cat <<-EOF > /etc/docker/daemon.json 
{
  "registry-mirrors": [
  	"https://docker.xuanyuan.me"
  	]
}
EOF
systemctl daemon-reload
systemctl restart docker
```

这适用于Ubuntu 22.04、Debian、CentOS 8、<span class="mod-overview__keyword" style="overflow-wrap: break-word; margin: 0px 4px; cursor: pointer; color: rgb(0, 82, 217); padding-right: 10px; background-image: url('https://bost.lesrec.cn/images/icon-keyword_32a.svg'); background-position: right 2px; background-repeat: no-repeat; background-size: 8px 8px; box-shadow: none; box-sizing: border-box; list-style: inherit; white-space: pre-wrap; word-break: break-all;">Fedora</span>、<span class="mod-overview__keyword" style="overflow-wrap: break-word; margin: 0px 4px; cursor: pointer; color: rgb(0, 82, 217); padding-right: 10px; background-image: url('https://bost.lesrec.cn/images/icon-keyword_32a.svg'); background-position: right 2px; background-repeat: no-repeat; background-size: 8px 8px; box-shadow: none; box-sizing: border-box; list-style: inherit; white-space: pre-wrap; word-break: break-all;">Arch Linux</span>、<span class="mod-overview__keyword" style="overflow-wrap: break-word; margin: 0px 4px; cursor: pointer; color: rgb(0, 82, 217); padding-right: 10px; background-image: url('https://bost.lesrec.cn/images/icon-keyword_32a.svg'); background-position: right 2px; background-repeat: no-repeat; background-size: 8px 8px; box-shadow: none; box-sizing: border-box; list-style: inherit; white-space: pre-wrap; word-break: break-all;">openSUSE</span> Leap 42.1等系统。

#### **macOS（Docker For Mac）**

对于macOS上的Docker For Mac用户，您可以通过以下步骤配置镜像加速服务：

1、点击桌面顶栏的docker图标，选择Preferences。

2、在 Daemon 标签下的 Registry mirrors 列表中加入以下镜像地址：

<div class="mod-content__markdown" id="bkmrk-%E4%BB%A3%E7%A0%81%E8%AF%AD%E8%A8%80%EF%BC%9Ajavascript-%E4%BB%A3%E7%A0%81%E8%BF%90%E8%A1%8C-3" style="overflow-wrap: break-word; margin: 0px; padding: 0px; color: rgb(24, 24, 24); font-family: 'Pingfang SC', 'helvetica neuepingfang SC', 'helvetica neue', arial, 'hiragino sans gb', 'microsoft yahei ui', 'microsoft yahei', simsun, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><div style="overflow-wrap: break-word; margin: 0px; padding: 0px;"><div class="rno-markdown new-version rno-" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; font-weight: 400; font-size: 14px; line-height: 24px; color: rgb(51, 51, 51); text-size-adjust: none; -webkit-font-smoothing: antialiased; white-space: pre-wrap; font-family: 'pingfang SC', 'helvetica neue', arial, 'hiragino sans gb', 'microsoft yahei ui', 'microsoft yahei', simsun, sans-serif;"><div class="rno-markdown-code" qct-area="代码块-0-javascript" qct-exposure="" style="overflow-wrap: break-word; margin: 24px 0px; padding: 0px; box-sizing: border-box; list-style: inherit;"><div class="rno-markdown-code-toolbar" style="overflow-wrap: break-word; margin: 0px; padding: 6px 8px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 228, 233); background: rgb(255, 255, 255); display: flex; align-items: center; justify-content: space-between; gap: 8px;"><div class="rno-markdown-code-toolbar-info" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; line-height: 22px; color: rgb(0, 0, 0); font-size: 12px; font-weight: 400; flex: 1 1 0%; max-width: 48%; white-space: nowrap;"><div class="rno-markdown-code-toolbar-item is-type" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; white-space: nowrap; align-items: center; display: inline-block; vertical-align: middle; max-width: calc(100% - 96px); overflow: hidden; text-overflow: ellipsis;"><span class="is-m-hidden" style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; font-weight: 500;">代码语言：</span>javascript</div><div class="rno-markdown-code-toolbar-item is-num" style="overflow-wrap: break-word; margin: 0px; padding: 0px 0px 0px 48px; box-sizing: border-box; list-style: inherit; position: relative; white-space: nowrap; align-items: center; display: inline-block; vertical-align: middle; font-weight: 500;"><span class="is-m-hidden" style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;">代码</span>运行次数：0</div></div><div class="rno-markdown-code-toolbar-opt" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; display: flex; align-items: center; gap: 20px;"><div class="rno-markdown-code-toolbar-opt-icon-btn" qct-area="运行" qct-click="" qct-exposure="" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; cursor: pointer; color: rgba(0, 0, 0, 0.9); font-size: 12px; font-weight: 500; line-height: 22px;"><svg fill="none" height="16" viewbox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M6.66666 10.9999L10.6667 7.99992L6.66666 4.99992V10.9999ZM7.99999 1.33325C4.31999 1.33325 1.33333 4.31992 1.33333 7.99992C1.33333 11.6799 4.31999 14.6666 7.99999 14.6666C11.68 14.6666 14.6667 11.6799 14.6667 7.99992C14.6667 4.31992 11.68 1.33325 7.99999 1.33325ZM7.99999 13.3333C5.05999 13.3333 2.66666 10.9399 2.66666 7.99992C2.66666 5.05992 5.05999 2.66659 7.99999 2.66659C10.94 2.66659 13.3333 5.05992 13.3333 7.99992C13.3333 10.9399 10.94 13.3333 7.99999 13.3333Z" fill="currentcolor"></path></svg><span class="is-m-hidden" style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;">运行</span></div><div class="rno-markdown-code-toolbar-opt-icon-btn is-ai-btn" qct-area="AI代码解释" qct-click="" qct-exposure="" style="overflow-wrap: break-word; margin: 0px; padding: 0px 10px; box-sizing: border-box; list-style: inherit; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; cursor: pointer; color: rgba(0, 0, 0, 0.9); font-size: 12px; font-weight: 500; line-height: 22px; position: relative; overflow: hidden; border-radius: 12px; z-index: 0;"><div class="chat-ui-ai-logo css-2jdwfl" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; z-index: 2; width: 14px; height: 14px;">  
</div><span style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; position: relative; z-index: 2;">AI代码解释</span></div></div></div><div class="developer-code-block" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative;"><div class="rno-markdown-code-opt-float" qct-area="复制" qct-click="" qct-exposure="" style="overflow-wrap: break-word; margin: 0px; padding: 3px 8px; box-sizing: border-box; list-style: inherit; opacity: 0; transform: translateY(2px); position: absolute; right: 12px; top: 12px; z-index: 1; display: flex; align-items: center; gap: 6px; border-radius: 12px; background: rgba(206, 206, 206, 0.6); transition: 0.2s ease-in-out;"><div class="rno-markdown-code-icon-btn qa-r-editor-btn" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; list-style: inherit; position: relative; display: inline-flex; vertical-align: middle; border: none; background-color: transparent; cursor: pointer; text-align: center; align-items: center; gap: 6px; flex: 0 0 auto; font-size: 12px; font-weight: 500; line-height: 22px; color: rgb(255, 255, 255);"><svg fill="none" height="16" viewbox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M4.5 15.5V3.5H14.5V15.5H4.5ZM12.5 5.5H6.5V13.5H12.5V5.5ZM9.5 2.5H3.5V12.5H1.5V0.5H11.5V2.5H9.5Z" fill="currentcolor" fill-rule="evenodd"></path></svg></div></div></div></div></div></div></div>```javascript
https://docker.xuanyuan.me
```

3、点击Apply &amp; Restart按钮使设置生效。

#### **Windows（Docker For Windows）**

<span class="mod-overview__keyword" style="overflow-wrap: break-word; margin: 0px 4px; cursor: pointer; color: rgb(0, 82, 217); padding-right: 10px; background-image: url('https://bost.lesrec.cn/images/icon-keyword_32a.svg'); background-position: right 2px; background-repeat: no-repeat; background-size: 8px 8px; box-shadow: none; box-sizing: border-box; list-style: inherit; white-space: pre-wrap; word-break: break-all;">Windows</span>系统上的Docker For Windows用户可以按照以下步骤配置镜像加速服务：

<div class="mod-content__markdown" id="bkmrk-%E5%9C%A8%E6%A1%8C%E9%9D%A2%E5%8F%B3%E4%B8%8B%E8%A7%92%E7%8A%B6%E6%80%81%E6%A0%8F%E4%B8%AD%E5%8F%B3%E9%94%AEdocker%E5%9B%BE%E6%A0%87" style="overflow-wrap: break-word; margin: 0px; padding: 0px; color: rgb(24, 24, 24); font-family: 'Pingfang SC', 'helvetica neuepingfang SC', 'helvetica neue', arial, 'hiragino sans gb', 'microsoft yahei ui', 'microsoft yahei', simsun, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><div style="overflow-wrap: break-word; margin: 0px; padding: 0px;"><div class="rno-markdown new-version rno-" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; font-weight: 400; font-size: 14px; line-height: 24px; color: rgb(51, 51, 51); text-size-adjust: none; -webkit-font-smoothing: antialiased; white-space: pre-wrap; font-family: 'pingfang SC', 'helvetica neue', arial, 'hiragino sans gb', 'microsoft yahei ui', 'microsoft yahei', simsun, sans-serif;">1. 在桌面右下角状态栏中右键docker图标，修改在Docker Daemon标签页中的json。
2. 将以下地址加入"registry-mirrors"的数组里。[`https://docker.xuanyuan.me`](https://cloud.tencent.com/developer/tools/blog-entry?target=https%3A%2F%2Fdocker.xuanyuan.me%2F&objectId=2485043&objectType=1&isNewArticle=undefined)
3. 点击Apply，重新生成Docker环境以使配置生效。

</div></div></div>### **更多可用镜像**

<div class="mod-content__markdown" id="bkmrk-dockerhub%E9%95%9C%E5%83%8F%E4%BB%93%E5%BA%93-%E9%95%9C%E5%83%8F%E5%8A%A0%E9%80%9F%E5%99%A8%E5%9C%B0" style="overflow-wrap: break-word; margin: 0px; padding: 0px; color: rgb(24, 24, 24); font-family: 'Pingfang SC', 'helvetica neuepingfang SC', 'helvetica neue', arial, 'hiragino sans gb', 'microsoft yahei ui', 'microsoft yahei', simsun, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><div style="overflow-wrap: break-word; margin: 0px; padding: 0px;"><div class="rno-markdown new-version rno-" style="overflow-wrap: break-word; margin: 0px; padding: 0px; box-sizing: border-box; font-weight: 400; font-size: 14px; line-height: 24px; color: rgb(51, 51, 51); text-size-adjust: none; -webkit-font-smoothing: antialiased; white-space: pre-wrap; font-family: 'pingfang SC', 'helvetica neue', arial, 'hiragino sans gb', 'microsoft yahei ui', 'microsoft yahei', simsun, sans-serif;"><div class="table-wrapper" style="overflow-wrap: break-word; margin: 12px 0px; padding: 0px; box-sizing: border-box; list-style: inherit; outline: none; position: relative; overflow-x: auto;"><table style="overflow-wrap: break-word; border-collapse: collapse; border-spacing: 0px; box-sizing: border-box; list-style: inherit; width: 996px; margin: 0px;"><thead style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><th style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); background-color: rgb(245, 247, 250); color: rgb(103, 116, 137); text-align: left; font-weight: normal; word-break: keep-all;">DockerHub镜像仓库

</th><th style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); background-color: rgb(245, 247, 250); color: rgb(103, 116, 137); text-align: left; font-weight: normal; word-break: keep-all;">镜像加速器地址

</th></tr></thead><tbody style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">镜像使用说明 657

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://dockerhub.icu（0913 测试不可用）

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;"></td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">hub.rat.dev

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;"></td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">docker.wanpeng.top

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">镜像使用说明 250

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://doublezonline.cloud

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">镜像使用说明 76

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://docker.mrxn.net（1102 测试不可用）

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">镜像使用说明 45

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://lynn520.xyz（1102 测试不可用）

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">镜像使用说明 30

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://ginger20240704.asia（1102 测试不可用）

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">DockerHub 镜像加速代理 102

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://docker.anyhub.us.kg（0831测试已不可用）

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">Dockerhub镜像加速说明 70

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://docker.wget.at（1102 测试不可用）

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">镜像使用说明 38

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://docker.awsl9527.cn（0913 测试不可用）

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">镜像使用说明 19

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://dislabaiot.xyz

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">Docker Proxy 镜像加速 92（来源地址 22）

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://dockerpull.com（1102 测试不可用）https://dockerproxy.cn（0913 新增）（1102 测试不可用）

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">Docker Hub Container Image Library 16

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://docker.fxxk.dedyn.io

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">docker-registry-mirrors 77: 支持 Docker Hub, GitHub, Google, k8s, Quay, Microsoft 等镜像仓库.

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">dhub.kubesre.xyz（0913 测试不可用）

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">AtomHub 可信镜像仓库平台 27（只包含基础镜像，共336个）

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://atomhub.openatom.cn

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">DaoCloud 镜像站 90

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">https://docker.m.daocloud.io

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">已失效DockerHub镜像仓库

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;"></td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">Docker镜像加速站 1（因流量太大，作者已关停）

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;"><del style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; white-space: pre-wrap; word-break: break-all;">https://hub.uuuadc.top</del>8（1102 测试不可用）

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">Docker镜像加速站

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;"><del style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; white-space: pre-wrap; word-break: break-all;">https://docker.ckyl.me</del>4（1102 测试不可用）

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">镜像使用说明 3

</td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;"><del style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; white-space: pre-wrap; word-break: break-all;">https://docker.hpcloud.cloud</del> 4（1102 测试不可用）

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;"></td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;">docker.1panel.live（1102 测试不可用）

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;"></td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;"><del style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; white-space: pre-wrap; word-break: break-all;">https://dockerhub.jobcher.com</del> 5（1102 测试不可用）

</td></tr><tr style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit;"><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;"></td><td style="overflow-wrap: break-word; margin: 0px; padding: 12px 16px; box-sizing: border-box; list-style: inherit; border: 1px solid rgb(225, 230, 240); text-align: left;"><del style="overflow-wrap: break-word; box-sizing: border-box; list-style: inherit; white-space: pre-wrap; word-break: break-all;">https://docker.chenby.cn</del> 5（1102 测试不可用）

</td></tr></tbody></table>

</div></div></div></div>此列表只收录无需限定条件的DockerHub镜像源，感谢这些公益服务者。

### **Docker Compose 安装与使用教程请看：**

[Docker Compose 安装及使用教程](https://cloud.tencent.com/developer/article/2454497?from_column=20421&from=20421)

[Dcoker Compose 模板文件详解](https://cloud.tencent.com/developer/article/2454496?from_column=20421&from=20421)

本文系转载，<span style="overflow-wrap: break-word; color: rgb(0, 82, 217); cursor: pointer;">前往查看</span>