From 941957c85f86529308693165dfa24100044b2145 Mon Sep 17 00:00:00 2001 From: karman <110832017+karman-docker@users.noreply.github.com> Date: Tue, 14 Jan 2025 17:27:21 +0000 Subject: [PATCH] add a known issue to uninstall section (#21815) ## Description Update docs to mention a know issue during CLI uninstall on macOS ## Related issues or tickets https://docker.slack.com/archives/C083X5V5GDD/p1736870271897639?thread_ts=1736770500.264399&cid=C083X5V5GDD ## Reviews - [ ] Technical review - [x] Editorial review - [ ] Product review --------- Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com> --- content/manuals/desktop/uninstall.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/content/manuals/desktop/uninstall.md b/content/manuals/desktop/uninstall.md index d394967be9..d43695354e 100644 --- a/content/manuals/desktop/uninstall.md +++ b/content/manuals/desktop/uninstall.md @@ -63,11 +63,20 @@ You can also uninstall Docker Desktop from the CLI. Run: $ /Applications/Docker.app/Contents/MacOS/uninstall ``` +You may encounter the following error when uninstalling Docker Desktop using the uninstall command. +```console +$ /Applications/Docker.app/Contents/MacOS/uninstall +Password: +Uninstalling Docker Desktop... +Error: unlinkat /Users//Library/Containers/com.docker.docker/.com.apple.containermanagerd.metadata.plist: operation not permitted +``` +The operation not permitted error is reported either on the file `.com.apple.containermanagerd.metadata.plist` or on the parent directory `/Users//Library/Containers/com.docker.docker/`. This error can be ignored as you have successfully uninstalled Docker Desktop. +You can remove the directory `/Users//Library/Containers/com.docker.docker/` later by allowing **Full Disk Access** to the terminal application you are using (**System Settings** > **Privacy & Security** > **Full Disk Access**). + After uninstalling Docker Desktop, there may be some residual files left behind which you can remove: ```console $ rm -rf ~/Library/Group\ Containers/group.com.docker -$ rm -rf ~/Library/Containers/com.docker.docker $ rm -rf ~/.docker ```