πŸ“Š Docker
Q. Which of the following is the purpose of the 'docker-compose logs' command?
  • (A) Displays logs of a specific container
  • (B) Shows the logs of all services defined in a Docker Compose file
  • (C) Starts a service in a detached mode
  • (D) Stops a service in a Docker Compose application
πŸ’¬ Discuss
βœ… Correct Answer: (B) Shows the logs of all services defined in a Docker Compose file

Explanation: 'docker-compose logs' is used to show the logs of all services defined in the Docker Compose file.

Explanation by: Ranjeet
'docker-compose logs' is used to show the logs of all services defined in the Docker Compose file.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
162
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Ranjeet
Publisher
πŸ“ˆ
82%
Success Rate