Cause 1 of 6
Accumulated images, stopped containers and build cache.
docker system df shows exactly what is using space and how much is reclaimable — run it first. Then docker system prune removes stopped containers, unused networks, dangling images and build cache. Read the list it prints before confirming, and add --volumes only when you are certain no volume holds data you need, because that deletes databases.
Cause 2 of 6
The build cache specifically has grown large.
docker builder prune clears BuildKit cache without touching images, containers or volumes. It is usually the biggest single reclaim and the safest one, so try it before the broader prune.
Cause 3 of 6
The host disk is full, not Docker.
df -h for the filesystem and du -sh /var/lib/docker for Docker's share. If another directory is the real consumer, pruning Docker frees nothing and you will be back in an hour.
Cause 4 of 6
Docker Desktop's virtual disk has reached its configured maximum.
The VM disk can be full while the Mac or Windows host has hundreds of free gigabytes. Raise the disk image size in Settings, Resources, Advanced — or use the same screen to reclaim space.
Cause 5 of 6
Inodes are exhausted rather than bytes.
df -i. Layers full of tiny files, node_modules being the classic, can use up every inode while df -h still shows free capacity. Pruning images is the practical remedy.
Cause 6 of 6
A container writes into its own writable layer instead of a volume.
Logs, uploads and caches written inside the container grow that layer without limit. Mount a volume for them, and cap container logs with the json-file driver's max-size and max-file options.