Skip to content

Commit deef8a1

Browse files
authored
docs: Correct package manager usage in uninstall guide
- Arch Linux does not have a seperate 'remove' and 'purge' command, instead the package is removed in one go. - Replaces 'pacman remove' with 'pacman -Rns' for a more complete removal, including configuration and dependencies. - The 'com.docker.cli' symlink does not exist. - Ensures all steps are accurate for an Arch Linux environment using pacman. The command explained: -R - removes packages -n - removes configuration files related to the package -s - Removes Dependencies that are not required by other packages
1 parent 9fbb168 commit deef8a1

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)