summaryrefslogtreecommitdiff
path: root/docs/sources/installation/centos.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/sources/installation/centos.md')
-rw-r--r--docs/sources/installation/centos.md37
1 files changed, 2 insertions, 35 deletions
diff --git a/docs/sources/installation/centos.md b/docs/sources/installation/centos.md
index efebad503c..7868f11b05 100644
--- a/docs/sources/installation/centos.md
+++ b/docs/sources/installation/centos.md
@@ -25,10 +25,7 @@ To run Docker on [CentOS-6.5](http://www.centos.org) or later, you will need
kernel version 2.6.32-431 or higher as this has specific kernel fixes to allow
Docker to run.
-## CentOS-7
-
-### Installation
-
+## Installing Docker - CentOS-7
Docker is included by default in the CentOS-Extras repository. To install
run the following command:
@@ -36,23 +33,7 @@ run the following command:
Please continue with the [Starting the Docker daemon](#starting-the-docker-daemon).
-### Uninstallation
-
-To uninstall the Docker package:
-
- $ sudo yum -y remove docker
-
-The above command will not remove images, containers, volumes, or user created
-configuration files on your host. If you wish to delete all images, containers,
-and volumes run the following command:
-
- $ rm -rf /var/lib/docker
-
-You must delete the user created configuration files manually.
-
-## CentOS-6.5
-
-### Installation
+## Installing Docker - CentOS-6.5
For CentOS-6.5, the Docker package is part of [Extra Packages
for Enterprise Linux (EPEL)](https://fedoraproject.org/wiki/EPEL) repository,
@@ -76,20 +57,6 @@ Next, let's install the `docker-io` package which will install Docker on our hos
Please continue with the [Starting the Docker daemon](#starting-the-docker-daemon).
-### Uninstallation
-
-To uninstall the Docker package:
-
- $ sudo yum -y remove docker-io
-
-The above command will not remove images, containers, volumes, or user created
-configuration files on your host. If you wish to delete all images, containers,
-and volumes run the following command:
-
- $ rm -rf /var/lib/docker
-
-You must delete the user created configuration files manually.
-
## Manual installation of latest Docker release
While using a package is the recommended way of installing Docker,