πŸ“Š Docker
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) To follow the logs of services in real-time

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
99
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
98%
Success Rate