table of contents
- unstable 2.26.1-3
- experimental 2.26.1-2
DOCKER-COMPOSE-CONFIG(1) | DOCKER-COMPOSE-CONFIG(1) |
NAME¶
docker-compose-config - Parse, resolve and render compose file in canonical format
SYNOPSIS¶
docker compose config [OPTIONS] [SERVICE...]
DESCRIPTION¶
docker compose config renders the actual data model to be applied on the Docker Engine. It merges the Compose files set by -f flags, resolves variables in the Compose file, and expands short-notation into the canonical format.
OPTIONS¶
--format="yaml" Format the output. Values: [yaml | json]
--hash="" Print the service config hash, one per line.
-h, --help[=false] help for config
--images[=false] Print the image names, one per line.
--no-consistency[=false] Don't check model consistency - warning: may produce invalid Compose output
--no-interpolate[=false] Don't interpolate environment variables
--no-normalize[=false] Don't normalize compose model
--no-path-resolution[=false] Don't resolve file paths
-o, --output="" Save to file (default to stdout)
--profiles[=false] Print the profile names, one per line.
-q, --quiet[=false] Only validate the configuration, don't print anything
--resolve-image-digests[=false] Pin image tags to digests
--services[=false] Print the service names, one per line.
--variables[=false] Print model variables and default values.
--volumes[=false] Print the volume names, one per line.
OPTIONS INHERITED FROM PARENT COMMANDS¶
--dry-run[=false] Execute command in dry run mode
SEE ALSO¶
Feb 2025 |