本人在自己电脑的虚拟机里安装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

最新文章

  1. 【JUC】JDK1.8源码分析之ReentrantLock(三)
  2. adminLTE的自动化菜单
  3. Topology and Geometry in OpenCascade-Edge
  4. 求一元二次方程ax^2+bx+c=0的解
  5. Unity3d之Http通讯GET方法和POST方法
  6. HW5.15
  7. spring入门之helloworld
  8. Linux下JDK安装
  9. VS打开项目或解决方案卡死,一直处于未响应状态。
  10. Star in Parentheses
  11. find ctime 加减n时间范围
  12. java重写equals方法需要注意的几点
  13. 使用Sublime Text 2 和 MinGW 搭建C开发环境
  14. iphone 与 PC端电脑投屏设置
  15. An error occurred (500 Error)
  16. extjs的使用笔记2
  17. 网络基础之socket
  18. 三:使用docker-machine安装虚拟机上的docker
  19. Vue组件学习
  20. WinForm画网格并填充颜色

热门文章

  1. Scala - Tips
  2. Python - GUI(Graphical User Interface,图形用户界面)
  3. 一文让你彻底理解 Java NIO 核心组件
  4. 如何批量添加图片到ppt的方法
  5. 深入理解JavaScript原型:prototype,__proto__和constructor
  6. RabbitMQ配置
  7. Elasticsearch基本概念及核心配置文件详解
  8. ubuntu mysql Access denied for user root@localhost
  9. UVa OJ 120
  10. DWR第二篇之逆向Ajax