mirror of https://github.com/docker/docs.git
ENGDOCS-1882 (#18827)
* ENGDOCS-1882 * ENGDOCS-1882 * review edits and support request * Update content/desktop/uninstall.md
This commit is contained in:
parent
f2cdc45599
commit
ccecc67e42
|
@ -13,14 +13,34 @@ To uninstall Docker Desktop from your Windows machine:
|
||||||
2. Select **Docker Desktop** from the **Apps & features** list and then select **Uninstall**.
|
2. Select **Docker Desktop** from the **Apps & features** list and then select **Uninstall**.
|
||||||
3. Select **Uninstall** to confirm your selection.
|
3. Select **Uninstall** to confirm your selection.
|
||||||
|
|
||||||
> **Important**
|
You can also uninstall Docker Desktop from the CLI:
|
||||||
>
|
|
||||||
> Uninstalling Docker Desktop destroys Docker containers, images, volumes, and
|
|
||||||
> other Docker related data local to the machine, and removes the files generated
|
|
||||||
> by the application. Refer to the [back up and restore data](backup-and-restore.md)
|
|
||||||
> section to learn how to preserve important data before uninstalling.
|
|
||||||
{ .important }
|
|
||||||
|
|
||||||
|
1. Locate the installer:
|
||||||
|
```console
|
||||||
|
$ C:\Program Files\Docker\Docker\Docker Desktop Installer.exe
|
||||||
|
```
|
||||||
|
2. Uninstall Docker Desktop.
|
||||||
|
- In PowerShell, run:
|
||||||
|
```console
|
||||||
|
$ Start-Process 'Docker Desktop Installer.exe' -Wait uninstall
|
||||||
|
```
|
||||||
|
- In the Command Prompt, run:
|
||||||
|
```console
|
||||||
|
$ start /w "" "Docker Desktop Installer.exe" uninstall
|
||||||
|
```
|
||||||
|
|
||||||
|
After uninstalling Docker Desktop, there may be some residual files left behind which you can remove manually. These are:
|
||||||
|
|
||||||
|
```console
|
||||||
|
C:\ProgramData\Docker
|
||||||
|
C:\ProgramData\DockerDesktop
|
||||||
|
C:\Program Files\Docker
|
||||||
|
C:\Users\<your user name>\AppData\Local\Docker
|
||||||
|
C:\Users\<your user name>\AppData\Roaming\Docker
|
||||||
|
C:\Users\<your user name>\AppData\Roaming\Docker Desktop
|
||||||
|
C:\Users\<your user name>\.docker
|
||||||
|
```
|
||||||
|
|
||||||
{{< /tab >}}
|
{{< /tab >}}
|
||||||
{{< tab name="Mac" >}}
|
{{< tab name="Mac" >}}
|
||||||
|
|
||||||
|
@ -29,27 +49,26 @@ To uninstall Docker Desktop from your Mac:
|
||||||
1. From the Docker menu, select the **Troubleshoot** icon in the top-right corner of Docker Dashboard and then select **Uninstall**.
|
1. From the Docker menu, select the **Troubleshoot** icon in the top-right corner of Docker Dashboard and then select **Uninstall**.
|
||||||
2. Select **Uninstall** to confirm your selection.
|
2. Select **Uninstall** to confirm your selection.
|
||||||
|
|
||||||
> Uninstall Docker Desktop from the command line
|
You can also uninstall Docker Desktop from the CLI. Run:
|
||||||
>
|
|
||||||
> To uninstall Docker Desktop from a terminal, run: `<path to Docker app>/Contents/MacOS/uninstall`.
|
```console
|
||||||
> If your instance is installed in the default location, this
|
$ /Applications/Docker.app/Contents/MacOS/uninstall
|
||||||
> command provides a clean uninstall:
|
```
|
||||||
>
|
|
||||||
> ```console
|
After uninstalling Docker Desktop, there may be some residual files left behind which you can remove:
|
||||||
> $ /Applications/Docker.app/Contents/MacOS/uninstall
|
|
||||||
> Uninstalling Docker Desktop...
|
```console
|
||||||
> Docker uninstalled successfully. You can move the Docker application to the trash.
|
$ rm -rf ~/Library/Group\ Containers/group.com.docker
|
||||||
> ```
|
$ rm -rf ~/Library/Containers/com.docker.docker
|
||||||
>
|
$ rm -rf ~/.docker
|
||||||
> You might want to use the command line to uninstall if, for example, you find that
|
```
|
||||||
> the app is non-functional, and you cannot uninstall it from the menu.
|
|
||||||
|
|
||||||
{{< /tab >}}
|
{{< /tab >}}
|
||||||
{{< tab name="Linux" >}}
|
{{< tab name="Linux" >}}
|
||||||
|
|
||||||
Docker Desktop can be removed from a Linux host using the package manager.
|
Docker Desktop is removed from a Linux host using the package manager.
|
||||||
|
|
||||||
Once Docker Desktop has been removed, users must remove the `credsStore` and `currentContext` properties from the `~/.docker/config.json`.
|
Once Docker Desktop is removed, users must delete the `credsStore` and `currentContext` properties from the `~/.docker/config.json`.
|
||||||
|
|
||||||
{{< /tab >}}
|
{{< /tab >}}
|
||||||
{{< tab name="Ubuntu" >}}
|
{{< tab name="Ubuntu" >}}
|
||||||
|
@ -130,13 +149,12 @@ $ sudo pacman -Rns docker-desktop
|
||||||
|
|
||||||
Remove the `credsStore` and `currentContext` properties from `$HOME/.docker/config.json`. Additionally, you must delete any edited configuration files manually.
|
Remove the `credsStore` and `currentContext` properties from `$HOME/.docker/config.json`. Additionally, you must delete any edited configuration files manually.
|
||||||
|
|
||||||
|
{{< /tab >}}
|
||||||
|
{{< /tabs >}}
|
||||||
|
|
||||||
> **Important**
|
> **Important**
|
||||||
>
|
>
|
||||||
> Uninstalling Docker Desktop destroys Docker containers, images, volumes, and
|
> Uninstalling Docker Desktop destroys Docker containers, images, volumes, and
|
||||||
> other Docker related data local to the machine, and removes the files generated
|
> other Docker-related data local to the machine, and removes the files generated
|
||||||
> by the application. Refer to the [back up and restore data](backup-and-restore.md)
|
> by the application. To learn how to preserve important data before uninstalling, refer to the [back up and restore data](backup-and-restore.md) section .
|
||||||
> section to learn how to preserve important data before uninstalling.
|
|
||||||
{ .important }
|
{ .important }
|
||||||
|
|
||||||
{{< /tab >}}
|
|
||||||
{{< /tabs >}}
|
|
Loading…
Reference in New Issue