{"id":20864351,"url":"https://github.com/dongyubin/dockerhub","last_synced_at":"2025-05-14T05:10:23.149Z","repository":{"id":249953495,"uuid":"833051953","full_name":"dongyubin/DockerHub","owner":"dongyubin","description":"2025年4月更新，目前国内可用Docker镜像源汇总，DockerHub国内镜像加速列表，🚀DockerHub镜像加速器","archived":false,"fork":false,"pushed_at":"2025-03-28T06:12:31.000Z","size":15,"stargazers_count":3037,"open_issues_count":1,"forks_count":154,"subscribers_count":44,"default_branch":"main","last_synced_at":"2025-04-13T20:17:50.722Z","etag":null,"topics":["cloudflare","docker","docker-image","docker-registry","dockerhub","proxy"],"latest_commit_sha":null,"homepage":"https://www.wangdu.site/course/2109.html","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dongyubin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-24T09:00:29.000Z","updated_at":"2025-04-13T17:30:41.000Z","dependencies_parsed_at":"2025-01-19T03:51:35.631Z","dependency_job_id":"0212ba7b-5052-4da5-b160-672a803096c3","html_url":"https://github.com/dongyubin/DockerHub","commit_stats":null,"previous_names":["dongyubin/dockerhub"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongyubin%2FDockerHub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongyubin%2FDockerHub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongyubin%2FDockerHub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongyubin%2FDockerHub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dongyubin","download_url":"https://codeload.github.com/dongyubin/DockerHub/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254076849,"owners_count":22010611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudflare","docker","docker-image","docker-registry","dockerhub","proxy"],"created_at":"2024-11-18T05:41:41.879Z","updated_at":"2025-05-14T05:10:23.099Z","avatar_url":"https://github.com/dongyubin.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# DockerHub 国内加速镜像列表\n\n[国内可用Docker镜像源加速器/DockerHub镜像汇总](https://www.wangdu.site/course/2109.html)（博客版及时更新）\n\n## DockerHub是什么\n\nDocker Hub是 Docker 提供的一项服务，用于与您的团队查找和共享容器映像。 它是世界上最大的容器映像存储库，其中包含一系列内容源，包括容器社区开发人员，开源项目和独立软件供应商（ISV），它们在容器中构建和分发其代码。\n\n![国内DockerHub镜像加速](https://b2.wwkejishe.top/WP-CDN-02/2022/202208041141287.webp)\n\n## DockerHub镜像加速器为啥不能拉取访问了？\n\n6月6日，[上海交大的 Docker Hub 镜像加速器](https://mirrors.ustc.edu.cn/help/dockerhub.html)宣布因监管要求被下架。[具体可看此通知](https://web.archive.org/web/20240606081039/https://sjtug.org/post/mirror-news/2024-06-06-takedown-dockerhub/)\n\n![上海交大通知](https://b2.wwkejishe.top/WP-CDN-02/2024/202406082147076.webp)\n\n## Dockerhub官网\n\n官方网站：[https://hub.docker.com/](https://hub.docker.com/)\n\n## DockerHub国内镜像加速源列表\n\n国内使用 Docker 的朋友们，可能都遇到过配置镜像源来加速镜像拉取的操作。然而，最近几个月发现许多曾经常用的国内镜像站（包括各种云服务商和高校镜像站）已经无法使用。\n\n此列表只收录目前可用的 DockerHub 镜像站和镜像加速地址，感谢这些公益服务者。\n\n\u003e 请注意！有些镜像站仅提供基础镜像或白名单镜像，如果某个加速地址无法拉取到所需的镜像，可以尝试切换到其他地址。有些代理站点是热心网友自费搭建的，请务必合理使用。\n\n**2025年3月28日 亲测国内现在还能用的 Docker 镜像**\n\n| DockerHub镜像仓库                                            | 镜像加速器地址                            |\n| ------------------------------------------------------------ | ----------------------------------------- |\n| [毫秒镜像](https://1ms.run/)                                 | `docker.1ms.run`                          |\n| [Docker Hub Search](https://docker.mybacc.com/)              | `docker.mybacc.com`                       |\n| [Docker Hub Search](https://dytt.online/)                    | `https://dytt.online`                     |\n| [Docker Hub Search](https://lispy.org/)                      | `https://lispy.org`                       |\n| [Docker Hub Search](https://docker.xiaogenban1993.com/)      | `docker.xiaogenban1993.com`               |\n| [Docker Hub Search](https://docker.yomansunter.com/)         | `docker.yomansunter.com`                  |\n| [Docker Hub Search](https://aicarbon.xyz/)                   | `aicarbon.xyz`                            |\n| [Docker Hub Search](https://666860.xyz/)                     | `666860.xyz`                              |\n| [Dockerhub镜像加速说明](https://docker.zhai.cm/)             | `https://docker.zhai.cm`                  |\n| [Dockerhub镜像加速说明](https://a.ussh.net/)                 | `https://a.ussh.net`                      |\n|                                                              | `hub.littlediary.cn`                      |\n|                                                              | `hub.rat.dev`                             |\n| [DaoCloud 镜像站](https://github.com/DaoCloud/public-image-mirror) | `https://docker.m.daocloud.io`            |\n| [Docker Proxy 镜像加速](https://dockerproxy.net/)            | `dockerproxy.net`                         |\n| [xdark.top](https://xdark.top/)（需赞助拉取）                |                                           |\n| [腾讯云](https://cloud.tencent.com/document/product/457/9113)（只支持内网访问，不支持外网域名访问加速。[轻量应用服务器 安装 Docker 并配置镜像加速源](https://cloud.tencent.com/document/product/1207/45596)） | `https://mirror.ccs.tencentyun.com`       |\n| [阿里云](https://cr.console.aliyun.com/)（需登录，系统分配） | `https://\u003cyour_code\u003e.mirror.aliyuncs.com` |\n\n### 已失效DockerHub加速镜像仓库\n\n| DockerHub镜像仓库                                            | 镜像加速器地址                                               |\n| ------------------------------------------------------------ | ------------------------------------------------------------ |\n| [docker-registry-mirrors](https://github.com/kubesre/docker-registry-mirrors): 支持 Docker Hub, GitHub, Google, k8s, Quay, Microsoft 等镜像仓库. | ~~dhub.kubesre.xyz~~                                         |\n| [Docker Proxy 镜像加速](https://dockerpull.org/)（[来源地址](https://linux.do/t/topic/114345)） | ~~`https://dockerpull.org`（在12/27被GFW封锁）/ `cjie.eu.org`（暂时备用）~~ |\n| ~~[镜像使用说明](https://dislabaiot.xyz/)~~                  | ~~https://dislabaiot.xyz~~                                   |\n| ~~[镜像加速说明](https://docker.1panel.dev/)~~               | ~~https://docker.1panel.dev~~                                |\n| ~~[镜像加速说明](https://docker.foreverlink.love/)~~         | ~~https://docker.foreverlink.love~~                          |\n| ~~[Dockerhub镜像加速说明](https://docker.wget.at/)~~         | ~~https://docker.wget.at~~                                   |\n| ~~[DockerHub 镜像加速代理](https://docker.anyhub.us.kg/)~~   | ~~https://docker.anyhub.us.kg~~                              |\n| ~~[DockerHub 镜像加速代理](https://hub.gog.email/)~~         | ~~https://hub.gog.email~~                                    |\n| ~~[Dockerhub镜像加速说明](https://docker.5z5f.com/)~~        | ~~https://docker.5z5f.com~~                                  |\n| ~~[Dockerhub镜像加速说明](https://docker.xn--6oq72ry9d5zx.cn/)~~ | ~~https://docker.xn--6oq72ry9d5zx.cn~~                       |\n| ~~[Docker Layer ICU 镜像加速](https://cloudlayer.icu/)~~     | ~~https://docker.cloudlayer.icu~~                            |\n| ~~[镜像使用说明](https://ginger20240704.asia/)~~             | ~~`https://ginger20240704.asia`~~                            |\n| ~~[镜像使用说明](https://lynn520.xyz/)~~                     | ~~`https://lynn520.xyz`~~                                    |\n| ~~[镜像使用说明](https://docker.mrxn.net/)~~                 | ~~`https://docker.mrxn.net`~~                                |\n| ~~[镜像使用说明](https://dockerhub.icu/)~~                   | ~~`https://dockerhub.icu`~~                                  |\n|                                                              | ~~`hub.rat.dev`~~                                            |\n|                                                              | ~~hub.crdz.gq~~                                              |\n|                                                              | ~~docker.unsee.tech~~                                        |\n|                                                              | ~~registry.dockermirror.com~~                                |\n|                                                              | ~~`docker.wanpeng.top`~~                                     |\n| ~~[镜像使用说明](https://doublezonline.cloud/)~~             | ~~`https://doublezonline.cloud`~~                            |\n| ~~[镜像使用说明](https://docker.awsl9527.cn/)~~              | ~~https://docker.awsl9527.cn~~                               |\n| ~~[Docker镜像加速站](https://hub.uuuadc.top/)~~（因流量太大，作者已关停） | ~~https://hub.uuuadc.top~~                                   |\n| ~~[Docker镜像加速站](https://docker.ckyl.me/)~~              | ~~https://docker.ckyl.me~~                                   |\n| ~~[镜像使用说明](https://docker.hpcloud.cloud/)~~            | ~~https://docker.hpcloud.cloud~~                             |\n|                                                              | ~~docker.1panel.live~~                                       |\n|                                                              | ~~https://dockerhub.jobcher.com~~                            |\n|                                                              | ~~https://docker.chenby.cn~~                                 |\n|                                                              | ~~https://vipmall.store/~~                                   |\n|                                                              | ~~https://tzq.asia~~                                         |\n|                                                              | ~~https://leitong.top/~~                                     |\n|                                                              | ~~hub.xdark.top~~                                            |\n|                                                              | ~~docker.nastool.de~~                                        |\n|                                                              | ~~docker.udayun.com~~                                        |\n| ~~[Docker Hub Search](https://docker.bowen.games/)~~         |                                                              |\n| ~~[Docker Hub Search](https://futureperiod.icu/)~~           |                                                              |\n| ~~[AtomHub 可信镜像仓库平台 ](https://atomhub.openatom.cn/)（~~只包含基础镜像，共336个，已于2024年12月30日下线） | ~~`https://atomhub.openatom.cn`~~                            |\n| ~~[Docker Hub Container Image Library](https://docker.fxxk.dedyn.io/)~~ | ~~`https://docker.fxxk.dedyn.io`~~                           |\n| [镜像使用说明](https://www.geekery.cn/free-service/docker-hub-mirror.html)： 支持docker命令行账户登录，支持推送到dockerhub账户。 | ~~`https://hub.geekery.cn`~~                                 |\n| [链氪镜像-链氪网公益Docker镜像站-Docker-DockerHub国内镜像源加速｜链氪巴士](https://docker.linkedbus.com/) | ~~https://docker.linkedbus.com~~                             |\n|                                                              | ~~docker.rainbond.cc~~                                       |\n|                                                              | ~~docker.1panelproxy.com~~                                   |\n|                                                              | ~~docker.kejilion.pro~~                                      |\n| ~~[Docker Hub Search](https://func.ink/)~~                   | ~~https://func.ink~~                                         |\n| ~~[Docker Hub Search](https://dockerhub.websoft9.com/)~~     | ~~dockerhub.websoft9.com~~                                   |\n\n### 配置Dockerhub镜像源使用教程\n\n1. 为了加速镜像拉取，使用以下命令设置 **registry mirror**\n\n\u003e 支持系统：Ubuntu 16.04+、Debian 8+、CentOS 7+\n\n```sh\nsudo mkdir -p /etc/docker\nsudo tee /etc/docker/daemon.json \u003c\u003cEOF\n{\n  \"registry-mirrors\": [\n    \"https://docker.1ms.run\",\n    \"https://docker.mybacc.com\",\n    \"https://dytt.online\",\n    \"https://lispy.org\",\n    \"https://docker.xiaogenban1993.com\",\n    \"https://docker.yomansunter.com\",\n    \"https://aicarbon.xyz\",\n    \"https://666860.xyz\",\n    \"https://docker.zhai.cm\",\n    \"https://a.ussh.net\",\n    \"https://hub.littlediary.cn\",\n    \"https://hub.rat.dev\",\n    \"https://docker.m.daocloud.io\"\n  ]\n}\nEOF\nsudo systemctl daemon-reload\nsudo systemctl restart docker\n```\n\n2. 使用 DockerHub Proxy，以下以 `hub.uuuadc.top` 为例：可以根据列表自行替换来测试是否拉取成功\n\n```sh\ndocker pull hub.uuuadc.top/library/mysql:5.7\n```\n\n说明：library是一个特殊的命名空间，它代表的是官方镜像。如果是某个用户的镜像就把library替换为镜像的用户名\n\n或用以下命令检查是否生效：\n\n```shell\nping -c 3 dockerpull.org\n```\n\n![Dockerhub加速源命令检查效果图](https://cdn.wwkejishe.top/wp-cdn-02/2024/202411071046451.png)\n\n## DockerHub containerd的配置文件\n\n由网友 [rxzy-krli](https://github.com/rxzy-krli) 提供\n\n```sh\nsudo tee /etc/containerd/config.toml \u003c\u003cEOF\n[plugins.\"io.containerd.grpc.v1.cri\".registry]\n  [plugins.\"io.containerd.grpc.v1.cri\".registry.mirrors]\n    [plugins.\"io.containerd.grpc.v1.cri\".registry.mirrors.\"docker.io\"]\n      endpoint = [\n        \"https://docker.1ms.run\",\n        \"https://docker.mybacc.com\",\n        \"https://dytt.online\",\n        \"https://lispy.org\",\n        \"https://docker.xiaogenban1993.com\",\n        \"https://docker.yomansunter.com\",\n        \"https://aicarbon.xyz\",\n        \"https://666860.xyz\",\n        \"https://docker.zhai.cm\",\n        \"https://a.ussh.net\",\n        \"https://hub.littlediary.cn\",\n        \"https://hub.rat.dev\",\n        \"https://docker.m.daocloud.io\"\n      ]\nEOF\nsudo systemctl daemon-reload\nsudo systemctl restart containerd\n```\n\n## 国内DockerHub镜像加速器还有哪些？\n\n- [国内的 Docker Hub 镜像加速器](https://gist.github.com/y0ngb1n/7e8f16af3242c7815e7ca2f0833d3ea6?permalink_comment_id=5068535)：由国内教育机构与各大云服务商提供的镜像加速服务\n\n- [建木Hub-镜像库](https://image.jianmuhub.com/)：v2友建立的服务，需要注册登录后使用\n\n- [镜像加速说明](https://do.nark.eu.org/)：由Linux.do [青柠](https://linux.do/u/qning/summary) 制作 [都在蹭CF搭建dockerhub镜像代理，基于论坛看到的一个代码糊了个前端](https://linux.do/t/topic/107726/8)\n\n- Docker Hub：`https://docker.hlyun.org`\n  npm：`https://npm.hlyun.org`\n  Github：`https://github.hlyun.org`\n  来源 [npm、docker hub、Github镜像](https://linux.do/t/topic/108473) \n  \n- DockerHub：`https://dockerhub.icu`    来源：[镜像使用说明](https://dockerhub.icu/)\n\n- 其他\n\n    ```sh\n    gcr.io   \u003e\u003e\u003e\u003e\u003e   gcr.chenby.cn\n    quay.io   \u003e\u003e\u003e\u003e\u003e   quay.chenby.cn\n    ghcr.io   \u003e\u003e\u003e\u003e\u003e   ghcr.chenby.cn\n    docker.io   \u003e\u003e\u003e\u003e\u003e   docker.chenby.cn\n    k8s.gcr.io   \u003e\u003e\u003e\u003e\u003e   k8s.chenby.cn\n    registry.k8s.io   \u003e\u003e\u003e\u003e\u003e   k8s.chenby.cn\n    ```\n\n## Docker daemon 配置代理\n\n- 参考 [Docker daemon 配置代理](https://docs.docker.com/config/daemon/systemd/#httphttps-proxy)\n- [docker 设置代理，以及国内加速镜像设置](https://neucrack.com/p/286)\n\n## 如何自建 DockerHub 加速服务\n\n### 部署在CloudFlare上的Dockerhub加速服务\n\n- [自建Docker Hub加速镜像](https://blog.lty520.faith/%E5%8D%9A%E6%96%87/%E8%87%AA%E5%BB%BAdocker-hub%E5%8A%A0%E9%80%9F%E9%95%9C%E5%83%8F/#%e6%96%b9%e6%a1%88%e4%b8%80%e4%ba%8c%e6%95%b4%e5%90%88)：通过 Nginx 和 Cloudflare Worker 两种方案以及两种方案的组合方案自建Docker hub加速镜像来解决这个问题\n- [利用 Cloudflare Workers 自建 Docker 镜像](https://singee.atlassian.net/wiki/spaces/MAIN/pages/5079084/Cloudflare+Workers+Docker)\n- [cmliu/CF-Workers-docker.io](https://github.com/cmliu/CF-Workers-docker.io): 这个项目是一个基于 Cloudflare Workers 的 Docker 镜像代理工具。它能够中转对 Docker 官方镜像仓库的请求，解决一些访问限制和加速访问的问题。\n- [ciiiii/cloudflare-docker-proxy](https://github.com/ciiiii/cloudflare-docker-proxy):docker 注册表代理在 cloudflare Worker 上运行。\n\n### 其他\n\n- [NoCLin/LightMirrors](https://github.com/NoCLin/LightMirrors) 是一个开源的缓存镜像站服务，用于加速软件包下载和镜像拉取。 目前支持 **DockerHub**、PyPI、PyTorch、NPM 等镜像缓存服务。 当前项目仍处于早期阶段。\n\n- [自建Docker Hub镜像服务](https://www.yooo.ltd/2024/06/08/self-host-docker-hub-mirror/)：文本使用[CNCF Distribution](https://distribution.github.io/distribution)的registry项目，只需要运行一个Docker容器，就可以自建Docker Hub镜像服务。\n\n- [brighill/registry-mirror](https://github.com/brighill/registry-mirror)：: 自建简易 Docker 镜像加速\u0026缓存服务（gcr.io、quay.io、nvcr.io、docker.io）\n\n- [bboysoulcn/registry-mirror](https://github.com/bboysoulcn/registry-mirror)：包含 Dockerhub、gcr、ghcr、k8sgcr、quay、registryk8s\n\n- [kubesre/docker-registry-mirrors](https://github.com/kubesre/docker-registry-mirrors)：多平台容器镜像代理服务,支持Docker Hub, GitHub, Google, k8s, Quay, Microsoft 等镜像仓库.\n\n- [dockerhub2ghcr.io](https://github.com/foss-android/dockerhub2ghcr.io)：一键把 DockerHub 镜像搬运到 GitHub 容器注册表 (GHCR.IO)\n\n- [dqzboy/Docker-Proxy](https://github.com/dqzboy/Docker-Proxy)：自建Docker镜像加速服务，基于官方Docker Registry 一键部署Docker、K8s、Quay、Ghcr、Mcr、Nvcr等镜像加速\\管理服务。支持免服务器部署到Render\\Koyeb\n\n  \u003e 提示\n  \u003e\n  \u003e 选择一台[国外服务器](https://bestvps.wwkejishe.top/tutorial-vps/choose-vps)（比如：[RackNerd](https://bestvps.wwkejishe.top/guowai-vps/racknerd)），并且未被墙。对于域名，无需进行国内备案。你也可以通过一些平台申请免费域名。在一键部署过程中，如果选择安装Caddy，它将自动配置HTTPS。若选择部署Nginx服务，则需要自行申请一个免费的SSL证书，或者通过其他方式来实现SSL加密。\n\n## Nas 群辉 Docker pull 代理设置方法\n\n设备：黑群晖7.0.1\n编辑文件：`vi /usr/local/lib/systemd/system/pkg-Docker-dockerd.service`，在 service下面新增三行环境变量，**代理地址记得改成自己的**  （来源：[【分享】群辉Docker pull代理设置方法](https://linux.do/t/topic/109710)）\n\n```sh\n[Service]\nEnvironment=\"HTTP_PROXY=http://127.0.0.1:1080\"\nEnvironment=\"HTTPS_PROXY=http://127.0.0.1:1080\"\nEnvironment=\"NO_PROXY=localhost,127.0.0.0/8,192.168.0.0/16,172.16.0.0/12,10.0.0.0/8\"\n```\n\n## 博主推荐仓库\n\n\u003ca href=\"https://github.com/dongyubin/Free-AppleId-Serve\"\u003e\n  \u003cimg align=\"center\" src=\"https://github-readme-stats.vercel.app/api/pin/?username=dongyubin\u0026repo=Free-AppleId-Serve\" /\u003e\n\u003c/a\u003e\n\n## Star History\n\n![dongyubin/DockerHub](https://api.star-history.com/svg?repos=dongyubin/DockerHub\u0026type=Date)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdongyubin%2Fdockerhub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdongyubin%2Fdockerhub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdongyubin%2Fdockerhub/lists"}