Back to Docker

docker compose stop

_vendor/github.com/docker/compose/v5/docs/reference/compose_stop.md

18.09-release633 B
Original Source

docker compose stop

<!---MARKER_GEN_START-->

Stops running containers without removing them. They can be started again with docker compose start.

Options

NameTypeDefaultDescription
--dry-runboolExecute command in dry run mode
-t, --timeoutint0Specify a shutdown timeout in seconds
<!---MARKER_GEN_END-->

Description

Stops running containers without removing them. They can be started again with docker compose start.