Docker Compose
docker compose config
Resolve and validate the project model. --quiet validates without normal output; --services lists service names. Configuration acceptance does not prove image availability or runtime success. Rendered values may be sensitive. Check environment overrides and use only synthetic resolved values.
Formal Syntax & Structure
docker syntaxdocker
docker compose config [OPTIONS]Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| --quiet | string | Suppress normal output |
| --services | string | Print service names |
Working Example
Example Snippetdocker
docker compose -f compose.yaml -p bm-v12-yaml config --quiet