---
name: "docker-compose-config"
section: "1"
platform: "linux"
package: "docker-compose"
version: "2.26.1-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/docker-compose-config"
---

# docker-compose-config(1)

Parse, resolve and render compose file in canonical format

## 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

**[docker-compose(1)](/docker-compose/1.md)**
