Skip to content

Commit 941957c

Browse files
add a known issue to uninstall section (#21815)
<!--Delete sections as needed --> ## Description <!-- Tell us what you did and why --> 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 <!-- Related issues, pull requests, or Jira tickets --> ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [x] Editorial review - [ ] Product review --------- Co-authored-by: Allie Sadler <[email protected]>
1 parent 4758460 commit 941957c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

content/manuals/desktop/uninstall.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,20 @@ You can also uninstall Docker Desktop from the CLI. Run:
6363
$ /Applications/Docker.app/Contents/MacOS/uninstall
6464
```
6565

66+
You may encounter the following error when uninstalling Docker Desktop using the uninstall command.
67+
```console
68+
$ /Applications/Docker.app/Contents/MacOS/uninstall
69+
Password:
70+
Uninstalling Docker Desktop...
71+
Error: unlinkat /Users/<USER_HOME>/Library/Containers/com.docker.docker/.com.apple.containermanagerd.metadata.plist: operation not permitted
72+
```
73+
The operation not permitted error is reported either on the file `.com.apple.containermanagerd.metadata.plist` or on the parent directory `/Users/<USER_HOME>/Library/Containers/com.docker.docker/`. This error can be ignored as you have successfully uninstalled Docker Desktop.
74+
You can remove the directory `/Users/<USER_HOME>/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**).
75+
6676
After uninstalling Docker Desktop, there may be some residual files left behind which you can remove:
6777

6878
```console
6979
$ rm -rf ~/Library/Group\ Containers/group.com.docker
70-
$ rm -rf ~/Library/Containers/com.docker.docker
7180
$ rm -rf ~/.docker
7281
```
7382

0 commit comments

Comments
 (0)