compose/docs/reference/compose_stop.md

19 lines
634 B
Markdown
Raw Normal View History

# docker compose stop
<!---MARKER_GEN_START-->
Stops running containers without removing them. They can be started again with `docker compose start`.
### Options
| Name | Type | Default | Description |
|:------------------|:-------|:--------|:--------------------------------------|
| `--dry-run` | `bool` | | Execute command in dry run mode |
| `-t`, `--timeout` | `int` | `0` | Specify a shutdown timeout in seconds |
<!---MARKER_GEN_END-->
## Description
Stops running containers without removing them. They can be started again with `docker compose start`.