Q. Which command is used to see the logs of a running Docker container?

  • (A) docker logs
  • (B) docker show logs
  • (C) docker ps
  • (D) docker stats
πŸ’¬ Discuss
βœ… Correct Answer: (A) docker logs
Explanation: The 'docker logs' command is used to view the logs of a running or stopped container.
Explanation by: Shiva Ram
The 'docker logs' command is used to view the logs of a running or stopped container.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
110
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Shiva Ram
Publisher
πŸ“ˆ
90%
Success Rate