A

Admin • 828.43K Points
Coach

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

  • (A) To follow the logs of services in real-time
  • (B) To view logs for a specific container
  • (C) To view Docker system logs
  • (D) To view Docker Hub logs
  • Correct Answer - Option(A)
  • Views: 32
  • Filed under category Docker
  • Hashtags:

Explanation by: Admin
The 'docker-compose logs --follow' command follows the logs of services defined in the 'docker-compose.yml' file in real-time.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.