Skip to content

Commit 61d245a

Browse files
authored
Merge pull request #22458 from udqy/patch-1
docs: Correct package manager usage in uninstall guide
1 parent 6920007 commit 61d245a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

content/manuals/desktop/uninstall.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,20 +187,18 @@ To uninstall Docker Desktop for Arch:
187187
1. Remove the Docker Desktop application. Run:
188188

189189
```console
190-
$ sudo pacman remove docker-desktop
190+
$ sudo pacman -Rns docker-desktop
191191
```
192192

193-
This removes the Docker Desktop package itself but doesn’t delete all of its files or settings.
193+
This removes the Docker Desktop package along with its configuration files and dependencies not required by other packages.
194194

195-
2. Manually remove leftover file.
195+
2. Manually remove leftover files.
196196

197197
```console
198198
$ rm -r $HOME/.docker/desktop
199-
$ sudo rm /usr/local/bin/com.docker.cli
200-
$ sudo apt purge docker-desktop
201199
```
202200

203-
This removes configuration and data files at `$HOME/.docker/desktop`, the symlink at `/usr/local/bin/com.docker.cli`, and purges the remaining systemd service files.
201+
This removes configuration and data files at `$HOME/.docker/desktop`.
204202

205203
3. Clean up Docker config settings. In `$HOME/.docker/config.json`, remove the `credsStore` and `currentContext` properties.
206204

0 commit comments

Comments
 (0)