BLACK FRIDAY$9.99$29with code BLACKFRIDAY · ends in--Get Pro →

How to uninstall Docker Desktop on Mac completely

Dragging Docker Desktop to the Trash leaves its data behind. Here’s every place it keeps files, which ones matter, and how to remove the rest.

Short answer

Use Docker Desktop’s own uninstaller: open the Troubleshoot menu (the bug icon) and choose Uninstall, or run /Applications/Docker.app/Contents/MacOS/uninstall. It deletes every container, image and volume. Then drag Docker to the Trash and check for leftovers: the com.docker.docker container, group.com.docker, ~/.docker and Application Support/Docker Desktop.

Skip the manual steps. Tidy Mac finds this and every other hidden space hog on your Mac in under a minute.
Before you start. Everything you built or pulled lives inside one virtual disk, Docker.raw. Uninstalling deletes it. Push images to a registry or save them with docker save first.

Uninstall Docker Desktop step by step

  1. Save images you need (docker save) and back up any named volumes. Uninstalling deletes all containers, images and volumes.
  2. In Docker Desktop, open Troubleshoot (the bug icon) and choose Uninstall. Or run /Applications/Docker.app/Contents/MacOS/uninstall in Terminal.
  3. Quit Docker Desktop and drag Docker from Applications to the Trash.
  4. Move ~/Library/Containers/com.docker.docker and ~/Library/Group Containers/group.com.docker to the Trash, if they’re still there.
  5. Move ~/Library/Application Support/Docker Desktop and ~/Library/Preferences/com.docker.docker.plist to the Trash.
  6. Move ~/.docker to the Trash if you no longer use the docker command at all.
  7. Empty the Trash and restart.

Where Docker Desktop leaves files

LocationWhat it isAfter uninstalling
~/Library/Containers/com.docker.dockerDocker.raw virtual disk: every image, container and volumeCheck first
~/Library/Group Containers/group.com.dockerSettings shared by Docker Desktop’s componentsSafe
~/Library/Application Support/Docker DesktopDocker Desktop app dataSafe
~/Library/Preferences/com.docker.docker.plistPreferencesSafe
~/.dockerCLI config, contexts and credential helper settingsCheck first
/Library/PrivilegedHelperTools/com.docker.vmnetdNetworking helper installed by some versions (needs your password)Safe

In Finder choose Go › Go to Folder (Shift-Command-G) and paste a path to open it. Safe means nothing you made is inside; Check first means it may hold the only copy of something. To see how much space they use, run this read-only command in Terminal:

du -sh ~/Library/Containers/com.docker.docker ~/Library/Group\ Containers/group.com.docker ~/Library/Application\ Support/Docker\ Desktop ~/Library/Preferences/com.docker.docker.plist ~/.docker 2>/dev/null

Docker.raw is where the gigabytes are

Docker Desktop runs a Linux virtual machine whose disk is a single file, Docker.raw, inside ~/Library/Containers/com.docker.docker. It holds every image, container, volume and build cache, and it doesn’t shrink by itself when you delete images. Why Docker.raw gets huge

Just want the space back?

You probably don’t need to uninstall. Inside Docker, prune what you don’t use:

docker system prune
docker system prune -a --volumes   # also unused images and volumes

You can also lower the disk size limit in Docker Desktop’s Settings › Resources.

~/.docker is shared

~/.docker belongs to the docker command, not just Docker Desktop. If you switch to another container runtime that uses the same CLI, keep it.

With Tidy Mac

Tidy Mac’s Apps screen lists every installed app with its size and when you last opened it. Pick Docker Desktop and Uninstall moves the app and the leftovers it finds in your Library, matched by bundle ID, to the Trash, so you can put them back from History. Quit Docker Desktop first: Tidy Mac won’t remove an app that’s running. It looks in the standard Library folders apps write to (Application Support, Caches, Containers, Preferences and the like), so check ~/.docker, /Library/PrivilegedHelperTools/com.docker.vmnetd yourself. Already dragged Docker Desktop to the Trash? The Leftovers tab finds files left by apps you already deleted.

Uninstall apps and their leftovers in one step

See every part of your storage explained, and clear junk to the Trash with Undo. $9.99 $29 once, 2 Macs.

Frequently asked questions

Does dragging Docker Desktop to the Trash uninstall it completely?

No. It removes the app, but Docker Desktop leaves 6 kinds of files behind in your Library and elsewhere: docker.raw virtual disk: every image, container and volume; settings shared by docker desktop’s components; docker desktop app data. The steps above remove them.

What is Docker Desktop’s bundle ID on Mac?

com.docker.docker. Most of its leftover files and folders are named after it, which is how you (and Tidy Mac) can tell they belong to Docker Desktop.

Can I reinstall Docker Desktop later?

Yes. Download it again from Docker. Anything stored in your account online comes back when you sign in; local-only data you removed does not.

Keep reading