移除docker-io后在CentOS 6上安装Docker [英] Installing Docker on CentOS 6 after removal of docker-io

查看:103
本文介绍了移除docker-io后在CentOS 6上安装Docker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一段时间以来,使用 docker-io 软件包在CentOS 6上安装Docker。

For some time, the docker-io package has been used to install Docker on CentOS 6.

自本月初以来,该软件包似乎不再可用:

Since early this month, this package no longer appears to be available:

[root@e0-01.p:0 yum.repos.d]# yum install docker-io
Loaded plugins: fastestmirror, presto
Setting up Install Process
Determining fastest mirrors
 * base: mirror.intergrid.com.au
 * extras: mirror.ventraip.net.au
 * updates: mirror.ventraip.net.au
base                                                                 | 3.7 kB     00:00
base/primary_db                                                      | 4.7 MB     00:00
epel                                                                 | 4.7 kB     00:00
epel/primary_db                                                      | 6.0 MB     00:00
extras                                                               | 3.4 kB     00:00
extras/primary_db                                                    |  28 kB     00:00
updates                                                              | 3.4 kB     00:00
updates/primary_db                                                   | 3.2 MB     00:00
No package docker-io available.
Error: Nothing to do

docker-io 以前是epel存储库的一部分,并且是推荐的在编号 地方

docker-io was previously part of the epel repository and has been the recommended way to install Docker (albeit, an older version) on CentOS 6 in a number of places.

可以在CentOS 6上安装Docker吗?

Is there any other way Docker can be installed on CentOS 6?

推荐答案

我不确定为什么 docker-io 突然消失了,但是可以通过Docker托管的rpm直接安装以前可通过epel存储库获得的相同版本:

I'm not sure why docker-io suddenly disappeared, but the same version previously available through the epel repository can be installed directly from this rpm hosted by Docker:

[root@server]# yum install
https://get.docker.com/rpm/1.7.1/centos-6/RPMS/x86_64/docker-engine-1.7.1-1.el6.x86_64.rpm

[root@server]# docker --version
Docker version 1.7.0, build 0baf609

这篇关于移除docker-io后在CentOS 6上安装Docker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆