mirror of https://github.com/docker/docs.git
Merge pull request #12882 from kostickm/12824-uninstall-docs
Docs adding uninstall instructions
This commit is contained in:
commit
949b929a32
|
@ -28,7 +28,7 @@ Docker is available in **SUSE Linux Enterprise 12 and later**. Please note that
|
|||
due to its current limitations Docker is able to run only on **64 bit**
|
||||
architecture.
|
||||
|
||||
# Installation
|
||||
## Installation
|
||||
|
||||
Install the Docker package.
|
||||
|
||||
|
@ -76,6 +76,20 @@ If you need to add an HTTP Proxy, set a different directory or partition for the
|
|||
Docker runtime files, or make other customizations, read our systemd article to
|
||||
learn how to [customize your systemd Docker daemon options](/articles/systemd/).
|
||||
|
||||
## Uninstallation
|
||||
|
||||
To uninstall the Docker package:
|
||||
|
||||
$ sudo zypper rm 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.
|
||||
|
||||
## What's next
|
||||
|
||||
Continue with the [User Guide](/userguide/).
|
||||
|
|
|
@ -30,13 +30,13 @@ in the packages. The core dependencies are:
|
|||
|
||||
For the normal package a simple
|
||||
|
||||
pacman -S docker
|
||||
$ sudo pacman -S docker
|
||||
|
||||
is all that is needed.
|
||||
|
||||
For the AUR package execute:
|
||||
|
||||
yaourt -S docker-git
|
||||
$ sudo yaourt -S docker-git
|
||||
|
||||
The instructions here assume **yaourt** is installed. See [Arch User
|
||||
Repository](https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages)
|
||||
|
@ -59,3 +59,21 @@ To start on system boot:
|
|||
If you need to add an HTTP Proxy, set a different directory or partition for the
|
||||
Docker runtime files, or make other customizations, read our systemd article to
|
||||
learn how to [customize your systemd Docker daemon options](/articles/systemd/).
|
||||
|
||||
## Uninstallation
|
||||
|
||||
To uninstall the Docker package:
|
||||
|
||||
$ sudo pacman -R docker
|
||||
|
||||
To uninstall the Docker package and dependencies that are no longer needed:
|
||||
|
||||
$ sudo pacman -Rns docker
|
||||
|
||||
The above commands 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.
|
||||
|
|
|
@ -25,7 +25,10 @@ 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.
|
||||
|
||||
## Installing Docker - CentOS-7
|
||||
## CentOS-7
|
||||
|
||||
### Installation
|
||||
|
||||
Docker is included by default in the CentOS-Extras repository. To install
|
||||
run the following command:
|
||||
|
||||
|
@ -33,7 +36,23 @@ run the following command:
|
|||
|
||||
Please continue with the [Starting the Docker daemon](#starting-the-docker-daemon).
|
||||
|
||||
## Installing Docker - CentOS-6.5
|
||||
### 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
|
||||
|
||||
For CentOS-6.5, the Docker package is part of [Extra Packages
|
||||
for Enterprise Linux (EPEL)](https://fedoraproject.org/wiki/EPEL) repository,
|
||||
|
@ -57,6 +76,20 @@ 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,
|
||||
|
|
|
@ -15,9 +15,9 @@ The `docker` port will build and install the latest tagged version of Docker.
|
|||
|
||||
## Installation
|
||||
|
||||
Assuming you have contrib enabled, update your ports tree and install docker (*as root*):
|
||||
Assuming you have contrib enabled, update your ports tree and install docker:
|
||||
|
||||
# prt-get depinst docker
|
||||
$ sudo prt-get depinst docker
|
||||
|
||||
|
||||
## Kernel requirements
|
||||
|
@ -27,7 +27,7 @@ the necessary modules enabled for the Docker Daemon to function correctly.
|
|||
|
||||
Please read the `README`:
|
||||
|
||||
$ prt-get readme docker
|
||||
$ sudo prt-get readme docker
|
||||
|
||||
The `docker` port installs the `contrib/check-config.sh` script
|
||||
provided by the Docker contributors for checking your kernel
|
||||
|
@ -39,9 +39,9 @@ To check your Kernel configuration run:
|
|||
|
||||
## Starting Docker
|
||||
|
||||
There is a rc script created for Docker. To start the Docker service (*as root*):
|
||||
There is a rc script created for Docker. To start the Docker service:
|
||||
|
||||
# /etc/rc.d/docker start
|
||||
$ sudo /etc/rc.d/docker start
|
||||
|
||||
To start on system boot:
|
||||
|
||||
|
@ -60,6 +60,20 @@ or use it as part of your `FROM` line in your `Dockerfile(s)`.
|
|||
There are also user contributed [CRUX based image(s)](https://registry.hub.docker.com/repos/crux/) on the Docker Hub.
|
||||
|
||||
|
||||
## Uninstallation
|
||||
|
||||
To uninstall the Docker package:
|
||||
|
||||
$ sudo prt-get 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.
|
||||
|
||||
## Issues
|
||||
|
||||
If you have any issues please file a bug with the
|
||||
|
|
|
@ -37,6 +37,24 @@ container runs, it prints an informational message. Then, it exits.
|
|||
> If you want to enable memory and swap accounting see
|
||||
> [this](/installation/ubuntulinux/#memory-and-swap-accounting).
|
||||
|
||||
### Uninstallation
|
||||
|
||||
To uninstall the Docker package:
|
||||
|
||||
$ sudo apt-get purge docker-io
|
||||
|
||||
To uninstall the Docker package and dependencies that are no longer needed:
|
||||
|
||||
$ sudo apt-get autoremove --purge docker-io
|
||||
|
||||
The above commands 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.
|
||||
|
||||
## Debian Wheezy/Stable 7.x (64-bit)
|
||||
|
||||
Docker requires Kernel 3.8+, while Wheezy ships with Kernel 3.2 (for more details
|
||||
|
@ -74,6 +92,24 @@ which is officially supported by Docker.
|
|||
>
|
||||
> $ wget -qO- https://get.docker.com/gpg | sudo apt-key add -
|
||||
|
||||
### Uninstallation
|
||||
|
||||
To uninstall the Docker package:
|
||||
|
||||
$ sudo apt-get purge lxc-docker
|
||||
|
||||
To uninstall the Docker package and dependencies that are no longer needed:
|
||||
|
||||
$ sudo apt-get autoremove --purge lxc-docker
|
||||
|
||||
The above commands 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.
|
||||
|
||||
## Giving non-root access
|
||||
|
||||
The `docker` daemon always runs as the `root` user and the `docker`
|
||||
|
|
|
@ -13,19 +13,37 @@ Currently the Fedora project will only support Docker when running on kernels
|
|||
shipped by the distribution. There are kernel changes which will cause issues
|
||||
if one decides to step outside that box and run non-distribution kernel packages.
|
||||
|
||||
## Fedora 21 and later installation
|
||||
## Fedora 21 and later
|
||||
|
||||
Install the `docker` package which will install Docker on our host.
|
||||
### Installation
|
||||
|
||||
Install the Docker package which will install Docker on our host.
|
||||
|
||||
$ sudo yum -y install docker
|
||||
|
||||
To update the `docker` package:
|
||||
To update the Docker package:
|
||||
|
||||
$ sudo yum -y update docker
|
||||
|
||||
Please continue with the [Starting the Docker daemon](#starting-the-docker-daemon).
|
||||
|
||||
## Fedora 20 installation
|
||||
### 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.
|
||||
|
||||
## Fedora 20
|
||||
|
||||
### Installation
|
||||
|
||||
For `Fedora 20`, there is a package name conflict with a system tray application
|
||||
and its executable, so the Docker RPM package was called `docker-io`.
|
||||
|
@ -36,12 +54,26 @@ package first.
|
|||
$ sudo yum -y remove docker
|
||||
$ sudo yum -y install docker-io
|
||||
|
||||
To update the `docker` package:
|
||||
To update the Docker package:
|
||||
|
||||
$ sudo yum -y update docker-io
|
||||
|
||||
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.
|
||||
|
||||
## Starting the Docker daemon
|
||||
|
||||
Now that it's installed, let's start the Docker daemon.
|
||||
|
|
|
@ -28,7 +28,7 @@ in the packages. The core dependencies are:
|
|||
|
||||
A simple
|
||||
|
||||
pacman -S lxc-docker
|
||||
$ sudo pacman -S lxc-docker
|
||||
|
||||
is all that is needed.
|
||||
|
||||
|
@ -48,3 +48,21 @@ To start on system boot:
|
|||
If you need to add an HTTP Proxy, set a different directory or partition for the
|
||||
Docker runtime files, or make other customizations, read our systemd article to
|
||||
learn how to [customize your systemd Docker daemon options](/articles/systemd/).
|
||||
|
||||
## Uninstallation
|
||||
|
||||
To uninstall the Docker package:
|
||||
|
||||
$ sudo pacman -R lxc-docker
|
||||
|
||||
To uninstall the Docker package and dependencies that are no longer needed:
|
||||
|
||||
$ sudo pacman -Rns lxc-docker
|
||||
|
||||
The above commands 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.
|
||||
|
|
|
@ -95,3 +95,21 @@ To start on system boot:
|
|||
If you need to add an HTTP Proxy, set a different directory or partition for the
|
||||
Docker runtime files, or make other customizations, read our systemd article to
|
||||
learn how to [customize your systemd Docker daemon options](/articles/systemd/).
|
||||
|
||||
## Uninstallation
|
||||
|
||||
To uninstall the Docker package:
|
||||
|
||||
$ sudo emerge -cav app-emulation/docker
|
||||
|
||||
To uninstall the Docker package and dependencies that are no longer needed:
|
||||
|
||||
$ sudo emerge -C app-emulation/docker
|
||||
|
||||
The above commands 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.
|
||||
|
|
|
@ -2,7 +2,7 @@ page_title: Installation on Mac OS X
|
|||
page_description: Instructions for installing Docker on OS X using boot2docker.
|
||||
page_keywords: Docker, Docker documentation, requirements, boot2docker, VirtualBox, SSH, Linux, OSX, OS X, Mac
|
||||
|
||||
# Install Docker on Mac OS X
|
||||
# Mac OS X
|
||||
|
||||
You can install Docker using Boot2Docker to run `docker` commands at your command-line.
|
||||
Choose this installation if you are familiar with the command-line or plan to
|
||||
|
@ -55,7 +55,7 @@ When you start the `boot2docker` process, the VM is assigned an IP address. Unde
|
|||
practice, work through the exercises on this page.
|
||||
|
||||
|
||||
### Install Boot2Docker
|
||||
### Installation
|
||||
|
||||
1. Go to the [boot2docker/osx-installer ](
|
||||
https://github.com/boot2docker/osx-installer/releases/latest) release page.
|
||||
|
@ -101,7 +101,9 @@ your setup succeeded is to run the `hello-world` container.
|
|||
511136ea3c5a: Pull complete
|
||||
31cbccb51277: Pull complete
|
||||
e45a5af57b00: Pull complete
|
||||
hello-world:latest: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.
|
||||
hello-world:latest: The image you are pulling has been verified.
|
||||
Important: image verification is a tech preview feature and should not be
|
||||
relied on to provide security.
|
||||
Status: Downloaded newer image for hello-world:latest
|
||||
Hello from Docker.
|
||||
This message shows that your installation appears to be working correctly.
|
||||
|
@ -314,8 +316,32 @@ section.
|
|||
The installer places Boot2Docker in your "Applications" folder.
|
||||
|
||||
|
||||
## Learning more and acknowledgement
|
||||
## Uninstallation
|
||||
|
||||
1. Go to the [boot2docker/osx-installer ](
|
||||
https://github.com/boot2docker/osx-installer/releases/latest) release page.
|
||||
|
||||
2. Download the source code by clicking `Source code (zip)` or
|
||||
`Source code (tar.gz)` in the "Downloads" section.
|
||||
|
||||
3. Extract the source code.
|
||||
|
||||
4. Open a terminal on your local machine.
|
||||
|
||||
5. Change to the directory where you extracted the source code:
|
||||
|
||||
$ cd <path to extracted source code>
|
||||
|
||||
6. Make sure the uninstall.sh script is executable:
|
||||
|
||||
$ chmod +x uninstall.sh
|
||||
|
||||
7. Run the uninstall.sh script:
|
||||
|
||||
$ ./uninstall.sh
|
||||
|
||||
|
||||
## Learning more and acknowledgement
|
||||
|
||||
Use `boot2docker help` to list the full command line reference. For more
|
||||
information about using SSH or SCP to access the Boot2Docker VM, see the README
|
||||
|
|
|
@ -43,7 +43,7 @@ To enable the *addons* repository:
|
|||
`/etc/yum.repos.d/public-yum-ol7.repo`
|
||||
and set `enabled=1` in the `[ol6_addons]` or the `[ol7_addons]` stanza.
|
||||
|
||||
## To install Docker:
|
||||
## Installation
|
||||
|
||||
1. Ensure the appropriate *addons* channel or repository has been enabled.
|
||||
|
||||
|
@ -51,7 +51,7 @@ and set `enabled=1` in the `[ol6_addons]` or the `[ol7_addons]` stanza.
|
|||
|
||||
$ sudo yum install docker
|
||||
|
||||
## To start Docker:
|
||||
## Starting Docker
|
||||
|
||||
1. Now that it's installed, start the Docker daemon:
|
||||
|
||||
|
@ -99,6 +99,20 @@ To enable btrfs support on Oracle Linux:
|
|||
|
||||
You can now continue with the [Docker User Guide](/userguide/).
|
||||
|
||||
## 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.
|
||||
|
||||
## Known issues
|
||||
|
||||
### Docker unmounts btrfs filesystem on shutdown
|
||||
|
|
|
@ -16,7 +16,9 @@ running on kernels shipped by the distribution. There are kernel changes which
|
|||
will cause issues if one decides to step outside that box and run
|
||||
non-distribution kernel packages.
|
||||
|
||||
## Red Hat Enterprise Linux 7 installation
|
||||
## Red Hat Enterprise Linux 7
|
||||
|
||||
### Installation
|
||||
|
||||
**Red Hat Enterprise Linux 7 (64 bit)** has [shipped with
|
||||
Docker](https://access.redhat.com/site/products/red-hat-enterprise-linux/docker-and-containers).
|
||||
|
@ -41,7 +43,21 @@ Portal](https://access.redhat.com/).
|
|||
|
||||
Please continue with the [Starting the Docker daemon](#starting-the-docker-daemon).
|
||||
|
||||
## Red Hat Enterprise Linux 6.6 installation
|
||||
### 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.
|
||||
|
||||
## Red Hat Enterprise Linux 6.6
|
||||
|
||||
You will need **64 bit** [RHEL
|
||||
6.6](https://access.redhat.com/site/articles/3078#RHEL6) or later, with
|
||||
|
@ -66,7 +82,7 @@ non-distro kernel packages.
|
|||
> vulnerabilities and severe bugs (such as those found in kernel 2.6.32)
|
||||
> are fixed.
|
||||
|
||||
## Installation
|
||||
### Installation
|
||||
|
||||
Firstly, you need to install the EPEL repository. Please follow the
|
||||
[EPEL installation
|
||||
|
@ -90,6 +106,20 @@ To update the `docker-io` package
|
|||
|
||||
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.
|
||||
|
||||
## Starting the Docker daemon
|
||||
|
||||
Now that it's installed, let's start the Docker daemon.
|
||||
|
@ -118,7 +148,6 @@ If you need to add an HTTP Proxy, set a different directory or partition for the
|
|||
Docker runtime files, or make other customizations, read our Systemd article to
|
||||
learn how to [customize your Systemd Docker daemon options](/articles/systemd/).
|
||||
|
||||
|
||||
## Issues?
|
||||
|
||||
If you have any issues - please report them directly in the
|
||||
|
|
|
@ -92,7 +92,7 @@ To upgrade your kernel and install the additional packages, do the following:
|
|||
Docker uses AUFS as the default storage backend. If you don't have this
|
||||
prerequisite installed, Docker's installation process adds it.
|
||||
|
||||
##Installing Docker on Ubuntu
|
||||
##Installation
|
||||
|
||||
Make sure you have installed the prerequisites for your Ubuntu version. Then,
|
||||
install Docker using the following:
|
||||
|
@ -306,7 +306,24 @@ NetworkManager (this might slow your network).
|
|||
|
||||
## Upgrade Docker
|
||||
|
||||
To install the latest version of Docker, use the standard `-N` flag with `wget`:
|
||||
To install the latest version of Docker with `wget`:
|
||||
|
||||
$ wget -qO- https://get.docker.com/ | sh
|
||||
|
||||
## Uninstallation
|
||||
|
||||
To uninstall the Docker package:
|
||||
|
||||
$ sudo apt-get purge lxc-docker
|
||||
|
||||
To uninstall the Docker package and dependencies that are no longer needed:
|
||||
|
||||
$ sudo apt-get autoremove --purge lxc-docker
|
||||
|
||||
The above commands 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.
|
||||
|
|
|
@ -150,6 +150,12 @@ You can do this with
|
|||
- then click: "Save Private Key".
|
||||
- Then use the saved file to login with PuTTY using `docker@127.0.0.1:2022`.
|
||||
|
||||
## Uninstallation
|
||||
|
||||
You can uninstall Boot2Docker using Window's standard process for removing programs.
|
||||
This process does not remove the `docker-install.exe` file. You must delete that file
|
||||
yourself.
|
||||
|
||||
## References
|
||||
|
||||
If you have Docker hosts running and if you don't wish to do a
|
||||
|
|
Loading…
Reference in New Issue