zoukankan      html  css  js  c++  java
  • 安装docker报错:https://download.docker.com/linux/centos/7/i386/stable/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22

      如题,执行docker安装命令报错:

    [root@centos ~]# yum install docker-ce
    Loaded plugins: fastestmirror, security
    Setting up Install Process
    Loading mirror speeds from cached hostfile
    https://download.docker.com/linux/centos/7/i386/stable/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    To address this issue please refer to the below knowledge base article 
    
    https://access.redhat.com/articles/1320623
    
    If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.
    
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: docker-ce-stable. Please verify its path and try again

      看起来镜像链接失效了。看了下之前的docker-ce仓库配置:

    [root@centos ~]# ll /etc/yum.repos.d/docker*
    -rw-r--r-- 1 root root 2424 Oct 19 05:57 /etc/yum.repos.d/docker-ce.repo

      我们看到10月19号有记录,删掉它,再试试

    [root@centos ~]# rm /etc/yum.repos.d/docker-ce.repo
    rm: remove regular file `/etc/yum.repos.d/docker-ce.repo'? y
    [root@centos ~]# yum install docker-ce
    Loaded plugins: fastestmirror, security
    Setting up Install Process
    Loading mirror speeds from cached hostfile
    No package docker-ce available.
    Error: Nothing to do

      看来还是不行,继续找原因:

    [root@centos ~]# uname -r
    2.6.32-696.el6.i686
    [root@centos ~]# cat /etc/redhat-release
    CentOS release 6.9 (Final)

      呵呵,docker要求centos是3.10以上才行,歇菜。

  • 相关阅读:
    软件测试七年之痒,依然热爱!我还是从前那个少年!
    我想从功能测试转向自动化测试,怎么办?
    python中的一些内置函数
    python中eval()
    集合
    列表的切片:取出来还是一个列表,可用在复制列表元素的操作
    字符串常用的方法
    dict字典,以及字典的一些基本应用
    list列表(也叫数组),以及常用的一些方法
    jsonpath的用法
  • 原文地址:https://www.cnblogs.com/wuxun1997/p/12081835.html
Copyright © 2011-2022 走看看