See what's using it
docker system df
This shows how much is images, containers, volumes and build cache, and how much of each is reclaimable.
Reclaim it safely
- Remove what nothing uses:
docker system prune
This removes stopped containers, unused networks, dangling images and build cache. Add-ato also remove every image no container uses. You'll download them again when you need them. - Clear the build cache on its own:
docker builder prune - Cap the size: Docker Desktop → Settings → Resources → set the disk usage limit.
Never delete Docker's disk file by hand. It holds every container and volume. Deleting it loses all of them, including databases you may not have backed up.