From 4d01901e7c61d733d729d249a2fd976fdd800428 Mon Sep 17 00:00:00 2001 From: tradfor Date: Mon, 6 Feb 2017 17:01:44 -0800 Subject: [PATCH] Added a new remove unofficial docker step (#1468) * Added a new remove unofficial docker step --- engine/installation/linux/centos.md | 7 +++++++ engine/installation/linux/fedora.md | 7 +++++++ engine/installation/linux/oracle.md | 7 +++++++ engine/installation/linux/rhel.md | 7 +++++++ 4 files changed, 28 insertions(+) diff --git a/engine/installation/linux/centos.md b/engine/installation/linux/centos.md index 0ca38fa514..0a8c67f639 100644 --- a/engine/installation/linux/centos.md +++ b/engine/installation/linux/centos.md @@ -26,6 +26,13 @@ version of Docker, remove it using the following command: $ sudo yum -y remove docker ``` +You may also have to remove the package `docker-selinux` which conflicts with +the official `docker-engine` package. Remove it with the following command: + +```bash +$ sudo yum -y remove docker-selinux +``` + The contents of `/var/lib/docker` are not removed, so any images, containers, or volumes you created using the older version of Docker are preserved. diff --git a/engine/installation/linux/fedora.md b/engine/installation/linux/fedora.md index dc8b4c63da..37ac61d81a 100644 --- a/engine/installation/linux/fedora.md +++ b/engine/installation/linux/fedora.md @@ -29,6 +29,13 @@ of Docker, remove it using the following command: $ sudo dnf -y remove docker ``` +You may also have to remove the package `docker-selinux` which conflicts with the +official `docker-engine` package. Remove it with the following command: + +```bash +$ sudo dnf -y remove docker-selinux +``` + The contents of `/var/lib/docker` are not removed, so any images, containers, or volumes you created using the older version of Docker are preserved. diff --git a/engine/installation/linux/oracle.md b/engine/installation/linux/oracle.md index 7375768ac6..f92e582998 100644 --- a/engine/installation/linux/oracle.md +++ b/engine/installation/linux/oracle.md @@ -31,6 +31,13 @@ remove it using the following command: $ sudo yum -y remove docker ``` +You may also have to remove the package `docker-engine-selinux` which conflicts with +the official `docker-engine` package. Remove it with the following command: + +```bash +$ sudo yum -y remove docker-engine-selinux +``` + The contents of `/var/lib/docker` are not removed, so any images, containers, or volumes you created using the older version of Docker are preserved. diff --git a/engine/installation/linux/rhel.md b/engine/installation/linux/rhel.md index f15a094877..689e775fae 100644 --- a/engine/installation/linux/rhel.md +++ b/engine/installation/linux/rhel.md @@ -27,6 +27,13 @@ version of Docker, remove it using the following command: $ sudo yum -y remove docker ``` +You may also have to remove the package `docker-selinux` which conflicts with +the official `docker-engine` package. Remove it with the following command: + +```bash +$ sudo yum -y remove docker-selinux +``` + The contents of `/var/lib/docker` are not removed, so any images, containers, or volumes you created using the older version of Docker are preserved.