Articles → DOCKER → Docker Logs CommandDocker Logs CommandIn this article, we will discuss the docker logs command.Purpose The docker log command retrieves the log of the container. Prerequisite Before you start reading this article, make sure that Docker is installed on your machine.Create A Docker Container First, create a docker container. Browse The Website Click to EnlargeDocker Logs Command Use the following command to see the container logs: -docker logs <container Id>Output Click to EnlargePosted By - Karan Gupta Posted On - Saturday, May 20, 2023 Query/Feedback Your Email Id Subject Query/Feedback Characters remaining 250
docker logs <container Id>
Query/Feedback