The Wayback Machine - https://web.archive.org/web/20260207125517/https://docs.docker.com/reference/cli/docker/compose/wait/
Answers are generated based on the documentation.

docker compose wait

DescriptionBlock until containers of all (or specified) services stop.
Usagedocker compose wait SERVICE [SERVICE...] [OPTIONS]

Description

Block until containers of all (or specified) services stop.

Options

OptionDefaultDescription
--down-projectDrops project when the first container stops