docker-compose config <services...>

Converts the compose file to platform's canonical format

Arguments

NameDescription
services

Options

NameDescription
--format <format>Format the output. Values: [yaml | json]
--hash <hash>Print the service config hash, one per line
--imagesPrint the image names, one per line
--no-interpolateDon't interpolate environment variables
--no-normalizeDon't normalize compose model
--output, -o <output>Save 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
--volumesPrint the volume names, one per line