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

docker centos6 无法拉取镜像

  •  
  •   zhouyin · 38 天前 · 938 次点击
    这是一个创建于 38 天前的主题,其中的信息可能已经有所发展或是发生改变。
    有台机器还在 centos6 ]
    ```javascript
    [root@guest ~]# cat /etc/redhat-release
    CentOS release 6.10 (Final)


    [root@guest ~]# docker pull node
    Pulling repository node
    Error: Status 410 trying to pull repository library/node: "<html>\r\n<head><title>410 Gone</title></head>\r\n<body>\r\n<center><h1>410 Gone</h1></center>\r\n<hr><center>openresty</center>\r\n</body>\r\n</html>\r\n"


    [root@guest ~]# docker info
    Containers: 10
    Images: 1
    Storage Driver: devicemapper
    Pool Name: docker-252:2-7446570-pool
    Pool Blocksize: 65.54 kB
    Backing Filesystem: extfs
    Data file: /dev/loop1
    Metadata file: /dev/loop2
    Data Space Used: 3.016 GB
    Data Space Total: 107.4 GB
    Data Space Available: 46.13 GB
    Metadata Space Used: 2.691 MB
    Metadata Space Total: 2.147 GB
    Metadata Space Available: 2.145 GB
    Udev Sync Supported: true
    Deferred Removal Enabled: false
    Data loop file: /var/lib/docker/devicemapper/devicemapper/data
    Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
    Library Version: 1.02.117-RHEL6 (2016-12-13)
    Execution Driver: native-0.2
    Logging Driver: json-file
    Kernel Version: 2.6.32-754.35.1.el6.x86_64
    Operating System: <unknown>
    CPUs: 10
    Total Memory: 49.35 GiB

    ID: JFIX:6Y6J:WFIP:RRTP:UYO3:NSZG:WKJO:C2FR:SZAR:M7XB:BMTZ:CKT2
    ```

    现在里面有个镜像 是从别的机器新版本 docker 导出再导入的
    7 条回复    2025-02-03 13:56:09 +08:00
    hefish
        1
    hefish  
       37 天前
    明显是 401 了嘛,登录一下 docker hub 试试,说不定本机的 ca 都过期了。。
    yinmin
        2
    yinmin  
       37 天前 via iPhone
    运行 docker version 看看版本是多少

    你这个系统有点旧了,linux 内核是 2.6 的,现在都开始用 6.12 了
    julyclyde
        3
    julyclyde  
       37 天前   ❤️ 1
    @hefish 明显不是 401 啊
    yinmin
        4
    yinmin  
       37 天前 via iPhone
    另外,看看/etc/docker/daemon.json 文件的 registry-mirrors 是否被改成私有仓地址了
    hefish
        5
    hefish  
       37 天前
    @julyclyde 看错了。哈哈哈。。。
    zhouyin
        6
    zhouyin  
    OP
       37 天前
    @yinmin
    t (client): 786b29d
    OS/Arch (client): linux/amd64
    Server version: 1.7.1
    Server API version: 1.19
    Go version (se
    zhouyin
        7
    zhouyin  
    OP
       37 天前
    @yinmin
    [root@guest ~]# docker version
    Client version: 1.7.1
    Client API version: 1.19
    Go version (client): go1.4.2
    Git commit (client): 786b29d
    OS/Arch (client): linux/amd64
    Server version: 1.7.1
    Server API version: 1.19
    Go version (server): go1.4.2
    Git commit (server): 786b29d
    OS/Arch (server): linux/amd64
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5269 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 08:21 · PVG 16:21 · LAX 01:21 · JFK 04:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.