Q. What is the purpose of the 'docker-compose logs' command?
β
Correct Answer: (A)
To view logs of containers defined in a docker-compose.yml file
Explanation: The 'docker-compose logs' command displays logs for all containers defined in the 'docker-compose.yml' file.