[SOLVED] Installing Docker on CentOS 6 after removal of docker-io ~ Linux Fixes

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 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.

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

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

Answered By – Tim Malone

Answer Checked By – Robin (WPSolving Admin)

Read more here: Source link