| 1 |
# docker compose stats |
| 2 |
|
| 3 |
<!---MARKER_GEN_START--> |
| 4 |
Display a live stream of container(s) resource usage statistics |
| 5 |
|
| 6 |
### Options |
| 7 |
|
| 8 |
| Name | Type | Default | Description | |
| 9 |
|:--------------|:---------|:--------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |
| 10 |
| `-a`, `--all` | `bool` | | Show all containers (default shows just running) | |
| 11 |
| `--dry-run` | `bool` | | Execute command in dry run mode | |
| 12 |
| `--format` | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/engine/cli/formatting/ for more information about formatting output with templates | |
| 13 |
| `--no-stream` | `bool` | | Disable streaming stats and only pull the first result | |
| 14 |
| `--no-trunc` | `bool` | | Do not truncate output | |
| 15 |
|
| 16 |
|
| 17 |
<!---MARKER_GEN_END--> |
| 18 |
|