Docker Linux Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 21: Line 21:


Alternative URL for Centos 6: https://yum.dockerproject.org/repo/main/centos/6
Alternative URL for Centos 6: https://yum.dockerproject.org/repo/main/centos/6
Oracle Linux: https://yum.dockerproject.org/repo/main/oraclelinux/6/


=Remove Older Releases=
=Remove Older Releases=

Revision as of 13:12, 19 April 2017

Internal

Prerequisites

A 3.8 kernel or later is required.

Setting a yum Repository

Create a docker.repo in /etc/yum.repos.d:

[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/7
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg

Alternative URL for Centos 6: https://yum.dockerproject.org/repo/main/centos/6 Oracle Linux: https://yum.dockerproject.org/repo/main/oraclelinux/6/

Remove Older Releases

Remove older Docker releases,

yum list installed | grep docker
yum erase ...

Install

yum install docker-engine