Is it safe to delete Docker Desktop data?

~/Library/Containers/com.docker.docker · Do not delete by hand

What it is

Docker Desktop's virtual disk with all images, containers and volumes.

Can you delete it?

No, not by hand. Deleting the file by hand deletes every volume, including databases. Clean inside Docker instead.

How to clean it safely

  1. Run: docker system df (see what is big)
  2. Run: docker system prune (stopped containers, unused networks, dangling images)
  3. Only add --volumes if you are sure no volume holds data you need.

Questions

Is it safe to delete ~/Library/Containers/com.docker.docker?

No, not by hand. Deleting the file by hand deletes every volume, including databases. Clean inside Docker instead.

Let the raccoon do it, safely

Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free beta for Mac.

Download for Mac