A

Admin • 833.24K Points
Coach

Q. What is the purpose of the 'docker-compose logs' command?

  • (A) To view logs of containers defined in a docker-compose.yml file
  • (B) To list all Docker images
  • (C) To inspect Docker networks
  • (D) To monitor Docker Hub activity
  • Correct Answer - Option(A)
  • Views: 27
  • Filed under category Docker
  • Hashtags:

Explanation by: Admin

The 'docker-compose logs' command displays logs for all containers defined in the 'docker-compose.yml' file.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.