CmdID / docker / docker container
docker container logs
Fetch the logs of a container Docker CLI reference
6 options
Also docker logs
Its page in the Docker CLI reference
Options
--detailsShow extra details provided to logs--follow, -fFollow log output--sinceShow logs since timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)--tail, -nNumber of lines to show from the end of the logs--timestamps, -tShow timestamps--untilShow logs before a timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)