·Updated ·8 min read

How to Uninstall Docker on Mac

Use Docker Desktop's own uninstall first. Then clear ~/.docker and Library leftovers so the next install starts clean — and decide what to do with a huge Docker.raw.

Docker uninstall: use Desktop's Uninstall, then remove the VM disk and ~/.docker leftovers.

Docker Desktop for Mac installs a GUI app plus a Linux VM disk image that often grows past 40–60 GB. Uninstalling the app is only half the story if you want that space back.

This guide walks the safe order: export anything you still need, run Docker's own uninstall, then clear ~/.docker, containers and the Docker.raw / Docker.qcow2 disk so Apple's Storage chart finally moves.

If you only need to shrink the VM without removing Docker, jump to Docker.raw is huge on Mac after you finish here.

Before you uninstall Docker

Images, volumes and containers live inside Docker's VM disk. Once that file is gone, local images are gone with it.

  • Push or save images you still need (`docker save` / registry push).
  • Note any compose projects that expect local named volumes.
  • Quit Docker Desktop from the menu bar whale icon — not just the settings window.

Uninstall Docker Desktop

  1. Open Docker Desktop → Settings (gear) → General (or Troubleshoot, depending on version).
  2. Choose Uninstall and confirm.
  3. If the UI path is missing, drag Docker.app to the Trash, then run Docker's uninstall script from their current docs.
The .app is small. Docker.raw and group containers are where the gigabytes hide.

Remove Docker leftovers and the disk image

Open Go → Go to Folder and clear Docker-named items you no longer need:

PathWhat it holds
~/.dockerCLI config, contexts, buildx state
~/Library/Containers/com.docker.*Sandboxed Desktop data
~/Library/Group Containers/group.com.dockerShared data; often hosts Docker.raw
~/Library/Application Support/Docker DesktopLogs and app support
~/Library/Preferences/com.docker.*Preference plists
Login Items / LaunchAgentsHelpers that relaunch Docker

Search Spotlight or Finder for `Docker.raw` and `Docker.qcow2`. Those files are the VM disks — deleting them is what frees tens of gigabytes.

Find Docker junk with DoomDisk

DoomDisk's junk and Apps scans list Docker disk images and related logs beside Xcode and node_modules so you can reclaim developer bloat in one pass. Review sizes first; Pro moves selections into a 30-day Safe Bin.

  1. Open DoomDisk → Space Map or Junk and look for Docker / com.docker paths.
  2. Or run Apps → Scan if Docker Desktop still appears as installed.
  3. Move confirmed leftovers to Safe Bin (Pro) and empty when sure.

FAQ

Will uninstalling Docker delete my images?

Uninstalling Docker Desktop removes the engine and typically the VM disk that stored images and volumes. Export anything you need first.

Is it safe to delete Docker.raw?

Yes if you do not need local images or volumes. It rebuilds empty on the next Docker Desktop install.

Why is storage still full after uninstall?

The VM disk or ~/.docker data is still on disk. Search for Docker.raw, empty Trash, and clear group containers.