Docker disk usage on Mac: what to check before freeing space

Use Docker’s read-only report and Desktop’s disk image settings to tell build cache and images apart from project data.

VibeVac ·

Start with a read-only report

Check that the Docker CLI is connected to your local Desktop engine rather than a remote environment. Run docker system df for a summary, then docker system df -v for more detail. Read images, containers, volumes and build cache separately. Two images can share layers, so adding their listed sizes can overstate their space. The report’s reclaimable number is not a promise of free space on your Mac. Mark what must be kept.

Docker CLI reference

Compare with the disk image Suppose the report shows 12 GB of build cache and 4 GB in a volume. That volume may contain your local database, even if no container is running. Write down the owning project and its backup status before considering any change. For shared images, check what still depends on them. If you cannot identify the data, leave it in place. These checks do not delete anything..

In Docker Desktop, open Settings, then Resources and Advanced, and check the disk image location and size. Compare space actually used with the maximum size; they are different numbers. Docker’s container data lives in a Linux disk image on macOS. Don’t treat Docker.raw as a disposable cache or delete it in Finder.

Docker’s Mac storage FAQ

Learn what VibeVac inspects on macOS