table of contents
- trixie 26.1.5+dfsg1-9+b9
- testing 26.1.5+dfsg1-9+b9
- unstable 26.1.5+dfsg1-10
- experimental 27.5.1+dfsg1-2
DOCKER(1) | Docker User Manuals | DOCKER(1) |
NAME¶
docker-logs - Fetch the logs of a container
SYNOPSIS¶
docker logs [OPTIONS] CONTAINER
DESCRIPTION¶
Alias for docker container logs.
OPTIONS¶
--details[=false] Show extra details provided to logs
-f, --follow[=false] Follow log output
-h, --help[=false] help for logs
--since="" Show logs since timestamp (e.g. "2013-01-02T13:23:37Z") or relative (e.g. "42m" for 42 minutes)
-n, --tail="all" Number of lines to show from the end of the logs
-t, --timestamps[=false] Show timestamps
--until="" Show logs before a timestamp (e.g. "2013-01-02T13:23:37Z") or relative (e.g. "42m" for 42 minutes)
SEE ALSO¶
Oct 2025 | Docker Community |