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

πŸ‘οΈ
182
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
91%
Success Rate