Q. Which command is used to view logs of a Docker container?
β
Correct Answer: (A)
docker logs
Explanation: The 'docker logs' command is used to fetch the logs of a container. Use 'docker logs <container_id>' to view the logs.