Bird
0
0

What will be the output of the command docker system df after running docker image prune -a?

medium📝 Command Output Q13 of 15
Docker - Resource Management
What will be the output of the command docker system df after running docker image prune -a?
AError message about running containers
BDisk usage report showing fewer images and freed space
CList of all images including unused ones
DNo change in disk usage report
Step-by-Step Solution
Solution:
  1. Step 1: Understand docker image prune -a effect on docker system df

    This removes all unused images, freeing space, so the report shows fewer images and more free space. No error, no list, and usage changes.
  2. Final Answer:

    Disk usage report showing fewer images and freed space -> Option B
  3. Quick Check:

    Image prune frees space = B [OK]
Quick Trick: Prune unused images to reduce disk usage [OK]
Common Mistakes:
  • Expecting an error when pruning images
  • Thinking prune lists images instead of removing
  • Assuming no change in disk usage after prune

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes