Q. Which command is used to view logs of a Docker container?

  • (A) docker logs
  • (B) docker view
  • (C) docker inspect
  • (D) docker history
πŸ’¬ Discuss
βœ… Correct Answer: (A) docker logs
Explanation: The 'docker logs' command fetches the logs of a container.
Explanation by: Vikash Gupta
The 'docker logs' command fetches the logs of a container.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
154
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Vikash Gupta
Publisher
πŸ“ˆ
90%
Success Rate