V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
itxh
V2EX  ›  Docker

DockerHub 国内镜像源列表(2024 年 6 月 18 日 亲测可用)

  •  
  •   itxh ·
    dongyubin · 8 天前 · 2985 次点击

    DockerHub 国内镜像源列表

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

    2024 年 6 月 18 日 亲测可用

    DockerHub 镜像仓库 镜像加速器地址
    Docker 镜像加速站 https://hub.uuuadc.top/
    docker.1panel.live
    hub.rat.dev
    DockerHub 镜像加速代理 https://docker.anyhub.us.kg
    https://docker.chenby.cn
    https://dockerhub.jobcher.com/
    镜像使用说明 https://dockerhub.icu
    Docker 镜像加速站 https://docker.ckyl.me
    镜像使用说明 https://docker.awsl9527.cn
    镜像使用说明 https://docker.hpcloud.cloud
    AtomHub 可信镜像仓库平台 (只包含基础镜像,共 336 个) https://atomhub.openatom.cn
    DaoCloud 镜像站 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

    12 条回复    2024-06-25 11:07:32 +08:00
    FanZhen
        1
    FanZhen  
       8 天前
    用阿里云也可以
    exqibao
        2
    exqibao  
       8 天前
    镜像源有随时倒的风险,我是使用 github actions 同步翻墙所需镜像到阿里镜像仓库,保证能翻墙后,docker 配置代理拉镜像即可。
    zaczhou
        3
    zaczhou  
       8 天前
    @FanZhen 前几天试阿里云好像也跪了,不知道咋回事
    clandyuki
        4
    clandyuki  
       8 天前   ❤️ 1
    @FanZhen 阿里云的镜像源一堆陈年旧货没同步,前几天想更新下 home-assistant ,拉 latest 给我拉了个 2021 版的
    wunonglin
        5
    wunonglin  
       8 天前
    自建是最稳是最终选择
    boris1993Jr
        6
    boris1993Jr  
       8 天前 via iPhone
    @FanZhen #1 一堆虫吃鼠咬光板没毛的陈年旧货,我有一次 cloudflare tunnel 起不来了,日志报参数 token 不支持,我还以为 CF 更新软件没改文档,还去开了个 issue ,直到有个人说他用的当前版本 xxx 没有问题,我才想起去检查镜像版本,好么它他妈给我推了个 2022 年的 latest
    阿里云镜像加速,狗都不用
    marcosteam
        7
    marcosteam  
       8 天前
    @clandyuki #4 根据 Docker 公司政策,2020 年 11 月 01 日起将逐步向 Docker Hub 匿名和免费用户实施速率和拉取请求次数限制。ACR 镜像加速器无法保证一定拉取到 latest 最新的镜像版本,建议您指定镜像版本拉取。关于 Docker Hub 拉取请求次数限制的详细介绍,请参见 Download rate limit 。
    hetal
        8
    hetal  
       8 天前
    最简单就是用代理完事~~
    macaodoll
        9
    macaodoll  
       8 天前 via Android
    靠谱靠谱,服务器正愁呢,有些小测试脚本跑一下,又不至于单独搭一条流水线,还是镜像环保些
    eraise
        10
    eraise  
       5 天前
    感谢,找了半天终于有个能用的了
    fzlqr091314
        11
    fzlqr091314  
       1 天前
    All mirrors were tried ,还有吗
    fzlqr091314
        12
    fzlqr091314  
       1 天前
    @fzlqr091314 Error: Failed to download metadata for repo 'docker-ce-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   962 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 21:51 · PVG 05:51 · LAX 14:51 · JFK 17:51
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.