Q. Which of the following Docker commands is used to view resource usage statistics for a container?

  • (A) docker top container_name
  • (B) docker stats container_name
  • (C) docker inspect container_name
  • (D) docker resource container_name
πŸ’¬ Discuss
βœ… Correct Answer: (B) docker stats container_name
Explanation: 'docker stats container_name' provides resource usage statistics for a running container.
Explanation by: Rakesh Kumar
'docker stats container_name' provides resource usage statistics for a running container.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
167
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
98%
Success Rate