• 安装docker17.06.0版本报错和解决方法


    本人在自己电脑的虚拟机里安装docker ce 17.06.0版本的时候报如下错误:

      

    [root@manager2 yum.repos.d]# yum install docker-ce-17.06.0.ce-1.el7.centos.x86_64 -y
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirrors.aliyun.com
    * extras: mirrors.neusoft.edu.cn
    * updates: mirrors.neusoft.edu.cn
    Resolving Dependencies
    --> Running transaction check
    ---> Package docker-ce.x86_64 0:17.06.0.ce-1.el7.centos will be installed
    --> Processing Dependency: container-selinux >= 2.9 for package: docker-ce-17.06.0.ce-1.el7.centos.x86_64
    --> Processing Dependency: libltdl.so.7()(64bit) for package: docker-ce-17.06.0.ce-1.el7.centos.x86_64
    --> Running transaction check
    ---> Package container-selinux.noarch 2:2.55-1.el7 will be installed
    ---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    =================================================================================================================================================
    Package Arch Version Repository Size
    =================================================================================================================================================
    Installing:
    docker-ce x86_64 17.06.0.ce-1.el7.centos docker-ce-edge 21 M
    Installing for dependencies:
    container-selinux noarch 2:2.55-1.el7 extras 34 k
    libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k

    Transaction Summary
    =================================================================================================================================================
    Install 1 Package (+2 Dependent packages)

    Total size: 21 M
    Total download size: 21 M
    Installed size: 74 M
    Downloading packages:
    No Presto metadata available for docker-ce-edge
    docker-ce-17.06.0.ce-1.el7.cen FAILED
    https://download.docker.com/linux/centos/7/x86_64/edge/Packages/docker-ce-17.06.0.ce-1.el7.centos.x86_64.rpm: [Errno 14] curl#35 - "TCP connection reset by peer"
    Trying other mirror.


    Error downloading packages:
    docker-ce-17.06.0.ce-1.el7.centos.x86_64: [Errno 256] No more mirrors to try.

    在网上查到原因:由于国内访问不到docker官方镜像的缘故 
    可以通过aliyun的源来完成,做如下操作问题解决:yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo

    再次安装成功:yum install docker-ce-17.06.0.ce-1.el7.centos.x86_64 -y

  • 相关阅读:
    域名恶意指向的问题解决
    dedecms 空间迁移步骤
    PHP 字符串长度计算函数strlen() 正确的计算 中文汉字长度的方法 与mb_strlen()应用
    php模板 smarty
    PHP 中 字符串的 比较函数 strcmp() strcasecmp()
    织梦cms安装完成后登录后台出现空白。主要原因是php版本的问题
    VS2008安装VTk
    英文缩写
    java中native的用法
    On The Way
  • 原文地址:https://www.cnblogs.com/renyongbin/p/9075485.html
Copyright © 2020-2023  润新知