The Wayback Machine - https://web.archive.org/web/20251014181445/https://docs.docker.com/reference/cli/docker/compose/stop/

docker compose stop

DescriptionStop services
Usagedocker compose stop [OPTIONS] [SERVICE...]

Description

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

Options

OptionDefaultDescription
-t, --timeoutSpecify a shutdown timeout in seconds