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
| Name | Type | Description |
|---|---|---|
| -d | string | Detached operation |
| --no-build | string | Do not build during up |
| --pull | string | Image pull policy |
| --wait-timeout | string | Maximum readiness wait in seconds |
Working Example
Example Snippetdocker
docker compose -f compose.yaml -p bm-v12-project up -d --no-build --pull never