ufo22940268
V2EX  ›  Docker

docker pull 特别慢

  •  
  •   ufo22940268 ·
    ufo22940268 · Feb 19, 2017 · 8737 views
    This topic created in 3441 days ago, the information mentioned may be changed or developed.

    docker pull dylanmei/zeppelin

    特别慢

    已经用过网易蜂巢和 daocloud 的镜像,但是用了之后 pull nginx 之类常用的是快了,但是其他不常用的还是很慢,有什么解决方案吗?用过代理,但是也没有快多少

    Supplement 1  ·  Feb 20, 2017
    通过楼下大神的指点,我总算解决了

    原来我设置 registry 的方法不对,应该在`/etc/docker/daemon.json`里面配置才对。 最后用的是阿里云
    Supplement 2  ·  Feb 20, 2017
    我的系统是 centos 7
    6 replies    2017-04-17 15:11:55 +08:00
    finian
        1
    finian  
       Feb 19, 2017
    找个更快的代理
    jhaohai
        3
    jhaohai  
       Feb 19, 2017 via iPhone
    阿里的加速器,速度很快
    nopy
        4
    nopy  
       Feb 19, 2017 via Android
    chensr
        5
    chensr  
       Mar 8, 2017
    Winserver2016 也有 Docker 功能,也是 Pull 灰常慢。
    我手动在 C:\ProgramData\docker\config 创建了 daemon.json 文档,添加了
    {
    "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"]
    }
    docker info 也显示 mirrors 生效了。
    但实际 pull 镜像也很慢,受不了,几天几夜连一个镜像也拉不下来。
    heaventear
        6
    heaventear  
       Apr 17, 2017
    一劳永逸解决方法是挂个梯子,码农不能没有梯子,我用的是天路加速器,看他们命令行加速教程,加速效果明显 https://91tianlu.cn/knowledgebase.php?action=displayarticle&id=7
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4017 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 10:17 · PVG 18:17 · LAX 03:17 · JFK 06:17
    ♥ Do have faith in what you're doing.