Knowledgebase

How to Clean Unused Docker Images and Reclaim Disk Space Print

  • 0

Free gigabytes of disk space consumed by old build caches and dangling images.

Step-by-Step Instructions

  1. Check Docker disk usage with docker system df.
  2. Prune unused images, stopped containers, and build cache.
docker system df
docker system prune -af

Pro Tip: Do NOT add --volumes unless you intentionally want to delete unused data volumes.

Need assistance? Open a ticket in the A1 Client Area or contact our 24/7 NOC Engineering Team on WhatsApp at +1 (406) 229-9597.


Was this answer helpful?

« Back