Docker Linux Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:
=Setting a yum Repository=
=Setting a yum Repository=


Create a <tt>docker.repo</tt> in <tt>/etc/yum.repos.d</tt>
Create a <tt>docker.repo</tt> in <tt>/etc/yum.repos.d</tt>:
 
<pre>
[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/7
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
</pre>

Revision as of 20:24, 4 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