|
@@ -13,9 +13,8 @@ parent = "smn_linux"
|
|
|
Docker is supported on the following versions of CentOS:
|
|
|
|
|
|
* CentOS 7.X
|
|
|
-* CentOS 6.5 or higher
|
|
|
|
|
|
-Installation on other binary compatible EL6/EL7 distributions such as Scientific
|
|
|
+Installation on other binary compatible EL7 distributions such as Scientific
|
|
|
Linux might succeed, but Docker does not test or support Docker on these
|
|
|
distributions.
|
|
|
|
|
@@ -27,20 +26,18 @@ CentOS documentation.
|
|
|
## Prerequisites
|
|
|
|
|
|
Docker requires a 64-bit installation regardless of your CentOS version. Also,
|
|
|
-your kernel must be 3.10 at minimum. CentOS 7 runs the 3.10 kernel, 6.5 does
|
|
|
-not. We make an exception for CentOS 6.5. To run Docker on
|
|
|
-[CentOS-6.5](https://www.centos.org) or later, you need kernel 2.6.32-431 or
|
|
|
-higher.
|
|
|
+your kernel must be 3.10 at minimum, which CentOS 7 runs.
|
|
|
|
|
|
To check your current kernel version, open a terminal and use `uname -r` to
|
|
|
display your kernel version:
|
|
|
|
|
|
$ uname -r
|
|
|
- 2.6.32-431.el6.x86_64
|
|
|
+ 3.10.0-229.el7.x86_64
|
|
|
|
|
|
Finally, is it recommended that you fully update your system. Please keep in
|
|
|
-mind that CentOS 6 should be fully patched to fix any potential kernel bugs. Any
|
|
|
-reported kernel bugs may have already been fixed on the latest kernel packages
|
|
|
+mind that your system should be fully patched to fix any potential kernel bugs.
|
|
|
+Any reported kernel bugs may have already been fixed on the latest kernel
|
|
|
+packages.
|
|
|
|
|
|
## Install
|
|
|
|
|
@@ -52,19 +49,6 @@ only the package you install differs. There are two packages to choose from:
|
|
|
<th>Version</th>
|
|
|
<th>Package name</th>
|
|
|
</tr>
|
|
|
- <tr>
|
|
|
- <td>6.5 and higher</td>
|
|
|
- <td>
|
|
|
- <p>
|
|
|
- <a href="https://get.docker.com/rpm/1.7.1/centos-6/RPMS/x86_64/docker-engine-1.7.1-1.el6.x86_64.rpm">
|
|
|
- https://get.docker.com/rpm/1.7.1/centos-6/RPMS/x86_64/docker-engine-1.7.1-1.el6.x86_64.rpm</a>
|
|
|
- <p>
|
|
|
- <a href="https://get.docker.com/rpm/1.7.1/centos-6/SRPMS/docker-engine-1.7.1-1.el6.src.rpm">
|
|
|
- https://get.docker.com/rpm/1.7.1/centos-6/SRPMS/docker-engine-1.7.1-1.el6.src.rpm</a>
|
|
|
- <p>
|
|
|
- </p>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
<tr>
|
|
|
<td>7.X</td>
|
|
|
<td>
|
|
@@ -81,8 +65,7 @@ only the package you install differs. There are two packages to choose from:
|
|
|
</table>
|
|
|
|
|
|
|
|
|
-This procedure depicts an installation on version 6.5. If you are installing on
|
|
|
-7.X, substitute that package for your installation.
|
|
|
+Installation procedure:
|
|
|
|
|
|
1. Log into your machine as a user with `sudo` or `root` privileges.
|
|
|
|
|
@@ -92,11 +75,11 @@ This procedure depicts an installation on version 6.5. If you are installing on
|
|
|
|
|
|
3. Download the Docker RPM to the current directory.
|
|
|
|
|
|
- $ curl -O -sSL https://get.docker.com/rpm/1.7.1/centos-6/RPMS/x86_64/docker-engine-1.7.1-1.el6.x86_64.rpm
|
|
|
+ $ curl -O -sSL https://get.docker.com/rpm/1.7.1/centos-7/RPMS/x86_64/docker-engine-1.7.1-1.el7.x86_64.rpm
|
|
|
|
|
|
4. Use `yum` to install the package.
|
|
|
|
|
|
- $ sudo yum localinstall --nogpgcheck docker-engine-1.7.1-1.el6.x86_64.rpm
|
|
|
+ $ sudo yum localinstall --nogpgcheck docker-engine-1.7.1-1.el7.x86_64.rpm
|
|
|
|
|
|
5. Start the Docker daemon.
|
|
|
|
|
@@ -179,8 +162,8 @@ You can uninstall the Docker software with `yum`.
|
|
|
|
|
|
$ yum list installed | grep docker
|
|
|
yum list installed | grep docker
|
|
|
- docker-engine.x86_64 1.7.1-1.el6
|
|
|
- @/docker-engine-1.7.1-1.el6.x86_64.rpm
|
|
|
+ docker-engine.x86_64 1.7.1-1.el7
|
|
|
+ @/docker-engine-1.7.1-1.el7.x86_64.rpm
|
|
|
|
|
|
2. Remove the package.
|
|
|
|