CmdID / docker / docker compose
docker compose config
It merges the Compose files set by -f flags, resolves variables in the Compose file, and expands short-notation into Docker Compose reference
20 options Its page in the Docker Compose reference
Options
--dry-runExecute command in dry run mode--environmentPrint environment used for interpolation.--formatFormat the output.--hashPrint the service config hash, one per line.--imagesPrint the image names, one per line.--lock-image-digestsProduces an override file with image digests--modelsPrint the model names, one per line.--networksPrint the network names, one per line.--no-consistencyDon't check model consistency - warning: may produce invalid Compose output--no-env-resolutionDon't resolve service env files--no-interpolateDon't interpolate environment variables--no-normalizeDon't normalize compose model--no-path-resolutionDon't resolve file paths--output, -oSave to file (default to stdout)--profilesPrint the profile names, one per line.--quiet, -qOnly validate the configuration, don't print anything--resolve-image-digestsPin image tags to digests--servicesPrint the service names, one per line.--variablesPrint model variables and default values.--volumesPrint the volume names, one per line.