Fix Dokploy Rapid Disk Consumption
22 Jul 20251️⃣ Check what’s consuming space
docker system df
This gives a summary of disk usage by Docker objects.
2️⃣ Remove inactive images
docker image prune
This deletes unused images that are not referenced by any container.
3️⃣ Clear Docker build cache
docker builder prune
This cleans up build cache data.
4️⃣ List dangling (unused and untagged) images
sudo docker images -f dangling=true
Inspect what’s dangling before removal.
5️⃣ Enable Docker cache cleanup (optional but recommended)
If your environment supports it, enable Docker’s Clean Cache option so Docker automatically manages disk space efficiently.
✅ Quick summary:
docker system df: Check disk usagedocker image prune: Remove inactive imagesdocker builder prune: Clear build cachedocker images -f dangling=true: List dangling images- Enable Clean Cache option