A

Admin • 833.24K Points
Coach

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
  • Correct Answer - Option(B)
  • Views: 38
  • Filed under category Docker
  • Hashtags:

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.