mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Do not set a hardcoded default timeout of 10 seconds when restarting / stopping but use the container `StopTimeout` (defaults to 10 seconds). Also fixed custom timeout not used when invoking `up`. Signed-off-by: Robbert Segeren <robbert.segeren@easyflex.nl>
19 lines
541 B
Markdown
19 lines
541 B
Markdown
# docker compose stop
|
|
|
|
<!---MARKER_GEN_START-->
|
|
Stop services
|
|
|
|
### Options
|
|
|
|
| Name | Type | Default | Description |
|
|
|:------------------|:------|:--------|:--------------------------------------|
|
|
| `--dry-run` | | | 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`.
|