DockerContainers
docker logs
Fetches the stdout/stderr logs of a container.
Syntax
docker logs [-f] <container>
Examples
Follow logs in real time
docker logs -f myappFetches the stdout/stderr logs of a container.
docker logs [-f] <container>
Follow logs in real time
docker logs -f myapp