com.docker.docker holds Docker Desktop’s virtual disk (Docker.raw) with every container, image and volume. Deleting files here erases all of it. Shrink it from inside Docker with docker system prune, or reset the disk from Docker Desktop’s settings.
Location: ~/Library/Containers/com.docker.docker
What’s inside
- Docker.raw virtual disk
- Docker Desktop settings
Shrink it safely
docker system prune
docker system prune -a --volumes # also unused images and volumes
Find every folder like this on your Mac
Tidy Mac’s Space Map shows every big folder at its real size, and Apps › Leftovers finds folders left by apps you already deleted.
Frequently asked questions
Can I delete com.docker.docker?
Leave alone: Removing this directly can break something. There’s a right way to shrink it. com.docker.docker holds Docker Desktop’s virtual disk (Docker.raw) with every container, image and volume. Deleting files here erases all of it. Shrink it from inside Docker with docker system prune, or reset the disk from Docker Desktop’s settings.
Where is com.docker.docker on my Mac?
~/Library/Containers/com.docker.docker. In Finder choose Go › Go to Folder and paste the path.
How big does com.docker.docker get?
Usually 10 – 100 GB.