mirror of
https://github.com/docker/compose.git
synced 2025-05-06 15:40:11 +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>
37 lines
939 B
YAML
37 lines
939 B
YAML
command: docker compose stop
|
|
short: Stop services
|
|
long: |
|
|
Stops running containers without removing them. They can be started again with `docker compose start`.
|
|
usage: docker compose stop [OPTIONS] [SERVICE...]
|
|
pname: docker compose
|
|
plink: docker_compose.yaml
|
|
options:
|
|
- option: timeout
|
|
shorthand: t
|
|
value_type: int
|
|
default_value: "0"
|
|
description: Specify a shutdown timeout in seconds
|
|
deprecated: false
|
|
hidden: false
|
|
experimental: false
|
|
experimentalcli: false
|
|
kubernetes: false
|
|
swarm: false
|
|
inherited_options:
|
|
- option: dry-run
|
|
value_type: bool
|
|
default_value: "false"
|
|
description: Execute command in dry run mode
|
|
deprecated: false
|
|
hidden: false
|
|
experimental: false
|
|
experimentalcli: false
|
|
kubernetes: false
|
|
swarm: false
|
|
deprecated: false
|
|
experimental: false
|
|
experimentalcli: false
|
|
kubernetes: false
|
|
swarm: false
|
|
|