Bird
0
0

What does the docker stats command primarily show?

easy📝 Conceptual Q11 of 15
Docker - Logging and Monitoring
What does the docker stats command primarily show?
ALogs of a specific container
BList of all Docker images on the system
CLive resource usage metrics of running containers
DDocker daemon configuration settings
Step-by-Step Solution
Solution:
  1. Step 1: Understand the purpose of docker stats

    This command is designed to display live resource usage statistics such as CPU, memory, and network for running containers.
  2. Step 2: Differentiate from other Docker commands

    Other commands like docker images list images, docker logs show logs, and docker info shows daemon info, so they do not match the description.
  3. Final Answer:

    Live resource usage metrics of running containers -> Option C
  4. Quick Check:

    docker stats = live container metrics [OK]
Quick Trick: Remember: stats = live resource usage [OK]
Common Mistakes:
  • Confusing stats with logs
  • Thinking stats shows images
  • Assuming stats shows config

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes