Q. Which of the following is a valid Docker command to view the logs of a container?
β
Correct Answer: (A)
docker logs container_name
Explanation: 'docker logs container_name' is used to view the logs of a running or stopped container.