itxh
V2EX  ›  Docker

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

  •  
  •   itxh ·
    dongyubin · Jun 18, 2024 · 16195 views
    This topic created in 711 days ago, the information mentioned may be changed or developed.

    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

    Supplement 1  ·  Jul 18, 2024
    20 replies    2026-01-15 22:29:16 +08:00
    FanZhen
        1
    FanZhen  
       Jun 18, 2024
    用阿里云也可以
    exqibao
        2
    exqibao  
       Jun 18, 2024
    镜像源有随时倒的风险,我是使用 github actions 同步翻墙所需镜像到阿里镜像仓库,保证能翻墙后,docker 配置代理拉镜像即可。
    zaczhou
        3
    zaczhou  
       Jun 18, 2024
    @FanZhen 前几天试阿里云好像也跪了,不知道咋回事
    clandyuki
        4
    clandyuki  
       Jun 18, 2024   ❤️ 1
    @FanZhen 阿里云的镜像源一堆陈年旧货没同步,前几天想更新下 home-assistant ,拉 latest 给我拉了个 2021 版的
    shakaraka
        5
    shakaraka  
    PRO
       Jun 18, 2024
    自建是最稳是最终选择
    boris1993Jr
        6
    boris1993Jr  
       Jun 18, 2024 via iPhone
    @FanZhen #1 一堆虫吃鼠咬光板没毛的陈年旧货,我有一次 cloudflare tunnel 起不来了,日志报参数 token 不支持,我还以为 CF 更新软件没改文档,还去开了个 issue ,直到有个人说他用的当前版本 xxx 没有问题,我才想起去检查镜像版本,好么它他妈给我推了个 2022 年的 latest
    阿里云镜像加速,狗都不用
    marcosteam
        7
    marcosteam  
       Jun 18, 2024
    @clandyuki #4 根据 Docker 公司政策,2020 年 11 月 01 日起将逐步向 Docker Hub 匿名和免费用户实施速率和拉取请求次数限制。ACR 镜像加速器无法保证一定拉取到 latest 最新的镜像版本,建议您指定镜像版本拉取。关于 Docker Hub 拉取请求次数限制的详细介绍,请参见 Download rate limit 。
    hetal
        8
    hetal  
       Jun 18, 2024
    最简单就是用代理完事~~
    macaodoll
        9
    macaodoll  
       Jun 18, 2024 via Android
    靠谱靠谱,服务器正愁呢,有些小测试脚本跑一下,又不至于单独搭一条流水线,还是镜像环保些
    eraise
        10
    eraise  
       Jun 21, 2024
    感谢,找了半天终于有个能用的了
    fzlqr091314
        11
    fzlqr091314  
       Jun 25, 2024
    All mirrors were tried ,还有吗
    fzlqr091314
        12
    fzlqr091314  
       Jun 25, 2024
    @fzlqr091314 Error: Failed to download metadata for repo 'docker-ce-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    edmond
        13
    edmond  
       Jul 8, 2024
    谢谢
    估计后面要自己搭 docker cache 了
    tubowen
        14
    tubowen  
       Jul 14, 2024
    又挂了啊
    RexKang
        15
    RexKang  
       Jul 18, 2024
    多谢,之前用的全跪了……
    itxh
        16
    itxh  
    OP
       Jul 18, 2024
    @tubowen #14 2024 年 7 月 18 日更新了一波: https://www.wangdu.site/course/2109.html
    renoyuan
        17
    renoyuan  
       Aug 8, 2024
    牛批,我试下,一段时间没有用感觉 docker 闭源了一样
    evan886
        18
    evan886  
       Aug 26, 2024
    代理真的好烦
    SeanChang
        19
    SeanChang  
    PRO
       Nov 23, 2024
    推荐一个我经常用的镜像站,比较稳定: https://docker.linkedbus.com/
    SeanChang
        20
    SeanChang  
    PRO
       Jan 15
    @SeanChang 更新一个轩辕镜像~https://xuanyuan.cloud/
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2626 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 76ms · UTC 10:31 · PVG 18:31 · LAX 03:31 · JFK 06:31
    ♥ Do have faith in what you're doing.