V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Recommended Services
Amazon Web Services
LeanCloud
New Relic
ClearDB
yangxuan8282
V2EX  ›  云计算

腾讯云下不了 docker 镜像?

  •  
  •   yangxuan8282 · 2017-03-09 17:47:47 +08:00 · 3429 次点击
    这是一个创建于 2618 天前的主题,其中的信息可能已经有所发展或是发生改变。
    root@VM-153-36-ubuntu:~/repos/dockerfile/nginx-proxy# docker pull jwilder/nginx-proxy
    Using default tag: latest
    Error response from daemon: Get https://registry-1.docker.io/v2/jwilder/nginx-proxy/manifests/latest: Get https://auth.docker.io/token?scope=repository%3Ajwilder%2Fnginx-proxy%3Apull&service=registry.docker.io: read tcp 10.141.153.36:40172->50.17.62.194:443: read: connection reset by peer
    
    6 条回复    2017-03-10 00:28:37 +08:00
    hitrust
        1
    hitrust  
       2017-03-09 18:38:10 +08:00
    connection reset by peer
    m31271n
        2
    m31271n  
       2017-03-09 20:46:59 +08:00
    选择 1. 为 Docker 设置一个代理

    选择 2. 使用网易蜂巢的镜像。
    yangxuan8282
        3
    yangxuan8282  
    OP
       2017-03-09 20:48:28 +08:00
    腾讯云的网络真是可以, ping 不通 docker.io ,改成它们的镜像才行
    yangxuan8282
        4
    yangxuan8282  
    OP
       2017-03-09 20:53:58 +08:00
    改成腾讯的镜像了: https://mirror.ccs.tencentyun.com
    返回的是内网 ip ,好像不对外
    之前树莓派上一直用的科大的 docker 镜像,暂时还没试过网易蜂巢的
    Actrace
        5
    Actrace  
       2017-03-10 00:06:53 +08:00
    LGA1150
        6
    LGA1150  
       2017-03-10 00:28:37 +08:00
    echo "34.193.147.40 registry-1.docker.io" >> /etc/hosts
    echo "34.193.147.40 auth.docker.io" >> /etc/hosts
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1093 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 22:46 · PVG 06:46 · LAX 15:46 · JFK 18:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.