What is the com.docker.docker folder on my Mac?

It belongs to Docker Desktop. Here’s what’s inside and the right way to deal with it.

Short answer

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.

Skip the manual steps. Tidy Mac finds this and every other hidden space hog on your Mac in under a minute.

Location: ~/Library/Containers/com.docker.docker

What’s inside

  • Docker.raw virtual disk
  • Docker Desktop settings
Our verdict: Leave alone. Removing this directly can break something. There’s a right way to shrink it.

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.

Keep reading