2021-03-08 15:47:24 +01:00
|
|
|
command: docker compose logs
|
|
|
|
short: View output from containers
|
2021-03-11 16:20:30 +01:00
|
|
|
long: Displays log output from services.
|
2022-08-02 13:11:57 +02:00
|
|
|
usage: docker compose logs [OPTIONS] [SERVICE...]
|
2021-03-08 15:47:24 +01:00
|
|
|
pname: docker compose
|
|
|
|
plink: docker_compose.yaml
|
|
|
|
options:
|
2022-07-26 14:58:08 +02:00
|
|
|
- option: follow
|
|
|
|
shorthand: f
|
|
|
|
value_type: bool
|
|
|
|
default_value: "false"
|
|
|
|
description: Follow log output.
|
|
|
|
deprecated: false
|
|
|
|
hidden: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
- option: no-color
|
|
|
|
value_type: bool
|
|
|
|
default_value: "false"
|
|
|
|
description: Produce monochrome output.
|
|
|
|
deprecated: false
|
|
|
|
hidden: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
- option: no-log-prefix
|
|
|
|
value_type: bool
|
|
|
|
default_value: "false"
|
|
|
|
description: Don't print prefix in logs.
|
|
|
|
deprecated: false
|
|
|
|
hidden: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
- option: since
|
|
|
|
value_type: string
|
|
|
|
description: |
|
|
|
|
Show logs since timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)
|
|
|
|
deprecated: false
|
|
|
|
hidden: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
- option: tail
|
|
|
|
value_type: string
|
|
|
|
default_value: all
|
|
|
|
description: |
|
|
|
|
Number of lines to show from the end of the logs for each container.
|
|
|
|
deprecated: false
|
|
|
|
hidden: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
- option: timestamps
|
|
|
|
shorthand: t
|
|
|
|
value_type: bool
|
|
|
|
default_value: "false"
|
|
|
|
description: Show timestamps.
|
|
|
|
deprecated: false
|
|
|
|
hidden: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
- option: until
|
|
|
|
value_type: string
|
|
|
|
description: |
|
|
|
|
Show logs before a timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)
|
|
|
|
deprecated: false
|
|
|
|
hidden: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
2021-03-08 15:47:24 +01:00
|
|
|
deprecated: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
|