mirror of https://github.com/docker/compose.git
23 lines
1.4 KiB
Markdown
23 lines
1.4 KiB
Markdown
# docker compose logs
|
|
|
|
<!---MARKER_GEN_START-->
|
|
View output from containers
|
|
|
|
### Options
|
|
|
|
| Name | Type | Default | Description |
|
|
|:---------------------|:---------|:--------|:-----------------------------------------------------------------------------------------------|
|
|
| `-f`, `--follow` | | | Follow log output. |
|
|
| `--no-color` | | | Produce monochrome output. |
|
|
| `--no-log-prefix` | | | Don't print prefix in logs. |
|
|
| `--since` | `string` | | Show logs since timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes) |
|
|
| `--tail` | `string` | `all` | Number of lines to show from the end of the logs for each container. |
|
|
| `-t`, `--timestamps` | | | Show timestamps. |
|
|
| `--until` | `string` | | Show logs before a timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes) |
|
|
|
|
|
|
<!---MARKER_GEN_END-->
|
|
|
|
## Description
|
|
|
|
Displays log output from services. |