docker container logs
Fetch the logs of a container
Usage
docker container logs [OPTIONS] CONTAINER
Description
See docker logs for more information.
Options
| Option | Short | Default | Description |
|---|---|---|---|
--details | Show extra details provided to logs | ||
--follow | -f | Follow log output | |
--since | Show logs since timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes) | ||
--tail | -n | all | Number of lines to show from the end of the logs |
--timestamps | -t | Show timestamps | |
--until | API 1.35+
Show logs before a timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes) |