V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
panda1001
V2EX  ›  Docker

阿里云上装了 docker 以后如何使用阿里内网镜像源

  •  
  •   panda1001 · Dec 20, 2016 · 4956 views
    This topic created in 3423 days ago, the information mentioned may be changed or developed.

    阿里云内网镜像解析地址

    mirrors.aliyuncs.com.	600	IN	A	10.143.34.200
    

    安装了 docker 以后, 10.0.0.0 网段就分给 docker 了

    主机的 eth0 地址是 172.17.143.*

    阿里云主机的系统路由:

    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         172.17.143.253  0.0.0.0         UG    0      0        0 eth0
    10.0.0.0        0.0.0.0         255.255.0.0     U     0      0        0 docker0
    169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
    172.17.128.0    0.0.0.0         255.255.240.0   U     0      0        0 eth0
    

    docker 容器的系统路由

    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         10.0.42.1       0.0.0.0         UG    0      0        0 eth0
    10.0.0.0        0.0.0.0         255.255.0.0     U     0      0        0 eth0
    

    现在主机和 docker 容器都不能 ping 通 mirrors.aliyuncs.com

    1 replies    2017-03-16 12:29:09 +08:00
    Libby520
        1
    Libby520  
       Mar 16, 2017
    内网可以共享镜像吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3688 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 10:40 · PVG 18:40 · LAX 03:40 · JFK 06:40
    ♥ Do have faith in what you're doing.