Docker.raw is the one disk image that holds all your Docker images, containers, volumes and build cache. It's a sparse file: Finder shows its maximum size, while the space it really uses is usually much smaller. Shrink it from inside Docker, not by deleting the file.
How big it gets
On the Mac we measured, a working developer's Mac on macOS 27: Finder and ls: 64.0 GB. Space actually used on disk (du): 10.9 GB.
What it is
du -h on it to see the real figure.How to clear it
- See what's inside:
docker system df - Remove stopped containers, unused images and build cache:
docker system prune -a. Add--volumesonly if you don't need their data. - Lower the limit in Docker Desktop › Settings › Resources if you want a hard cap.
What you lose: Images pull again when needed. Volumes you prune lose their data for good.
With Scrubs: Scrubs measures Docker.raw by the space it really uses on disk, not its 64 GB maximum, so the map shows its true weight. Download Scrubs; scanning is free.
Related folders
Sizes measured with du on 1 November 2026. Paths and commands apply to macOS 15 and later. See also how to free up disk space on a Mac.
About the author: Parsa Nasirimehr is a mobile app developer who builds Scrubs, a disk map for the Mac. Spotted something wrong? Write to support@getscrubs.app.