Need to find what’s eating your storage? Use these two commands:
1. Check Container Sizes
Shows the writable layer size vs. the total image size for each container.
docker ps --size
Code language: Bash (bash)
2. Overall Storage Summary
Shows a summary of images, containers, and volumes.
docker system df
Code language: Bash (bash)
Need more detail? Add the verbose flag to see exactly which items are taking up space:
docker system df -vCode language: Bash (bash)
Leave a Reply