Docker Compose

docker compose up

Create, start and when needed recreate service containers. -d detaches; --no-build and --pull never constrain automatic image acquisition; --wait with --wait-timeout waits for running or healthy state. Verify applicable plugin version. Detached startup does not prove readiness; check actual state and application response.

Formal Syntax & Structure

docker syntaxdocker
docker compose up [OPTIONS] [SERVICE...]

Parameters & Attributes

NameTypeDescription
-dstringDetached operation
--no-buildstringDo not build during up
--pullstringImage pull policy
--wait-timeoutstringMaximum readiness wait in seconds

Working Example

Example Snippetdocker
docker compose -f compose.yaml -p bm-v12-project up -d --no-build --pull never
Docker Reference