2021-03-08 15:47:24 +01:00
|
|
|
command: docker compose convert
|
|
|
|
aliases: config
|
|
|
|
short: Converts the compose file to platform's canonical format
|
2021-03-11 16:20:30 +01:00
|
|
|
long: "`docker compose convert` render the actual data model to be applied on target
|
|
|
|
platform. When used with Docker engine,\nit merges the Compose files set by `-f`
|
|
|
|
flags, resolves variables in Compose file, and expands short-notation into \nfully
|
2021-05-05 17:37:08 +02:00
|
|
|
defined Compose model. \n\nTo allow smooth migration from docker-compose, this
|
|
|
|
subcommand declares alias `docker compose config`"
|
2021-03-08 15:47:24 +01:00
|
|
|
usage: docker compose convert SERVICES
|
|
|
|
pname: docker compose
|
|
|
|
plink: docker_compose.yaml
|
|
|
|
options:
|
|
|
|
- option: format
|
|
|
|
value_type: string
|
|
|
|
default_value: yaml
|
|
|
|
description: 'Format the output. Values: [yaml | json]'
|
|
|
|
deprecated: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
2021-05-05 17:37:08 +02:00
|
|
|
- option: hash
|
|
|
|
value_type: string
|
|
|
|
description: Print the service config hash, one per line.
|
|
|
|
deprecated: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
- option: no-interpolate
|
|
|
|
value_type: bool
|
|
|
|
default_value: "false"
|
|
|
|
description: Don't interpolate environment variables.
|
|
|
|
deprecated: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
- option: profiles
|
|
|
|
value_type: bool
|
|
|
|
default_value: "false"
|
|
|
|
description: Print the profile names, one per line.
|
|
|
|
deprecated: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
2021-03-08 15:47:24 +01:00
|
|
|
- option: quiet
|
|
|
|
shorthand: q
|
|
|
|
value_type: bool
|
|
|
|
default_value: "false"
|
|
|
|
description: Only validate the configuration, don't print anything.
|
|
|
|
deprecated: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
- option: resolve-image-digests
|
|
|
|
value_type: bool
|
|
|
|
default_value: "false"
|
|
|
|
description: Pin image tags to digests.
|
|
|
|
deprecated: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
2021-05-05 17:37:08 +02:00
|
|
|
- option: services
|
|
|
|
value_type: bool
|
|
|
|
default_value: "false"
|
|
|
|
description: Print the service names, one per line.
|
|
|
|
deprecated: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
- option: volumes
|
|
|
|
value_type: bool
|
|
|
|
default_value: "false"
|
|
|
|
description: Print the volume names, one per line.
|
|
|
|
deprecated: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
2021-03-08 15:47:24 +01:00
|
|
|
deprecated: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
|