docs/_data/engine-cli/docker_logs.yaml

26 lines
688 B
YAML

command: docker logs
short: Fetch the logs of a container
long: |
Alias for `docker container logs`.
usage: docker logs [OPTIONS] CONTAINER
pname: docker
plink: docker.yaml
options:
- option: details
default_value: "false"
description: Show extra details provided to logs
- option: follow
shorthand: f
default_value: "false"
description: Follow log output
- option: since
description: |
Show logs since timestamp (e.g. 2013-01-02T13:23:37) or relative (e.g. 42m for 42 minutes)
- option: tail
default_value: all
description: Number of lines to show from the end of the logs
- option: timestamps
shorthand: t
default_value: "false"
description: Show timestamps