Back to Compose

docker compose alpha generate

docs/reference/compose_alpha_generate.md

5.1.3670 B
Original Source

docker compose alpha generate

<!---MARKER_GEN_START-->

EXPERIMENTAL - Generate a Compose file from existing containers

Options

NameTypeDefaultDescription
--dry-runboolExecute command in dry run mode
--formatstringyamlFormat the output. Values: [yaml | json]
--namestringProject name to set in the Compose file
--project-dirstringDirectory to use for the project
<!---MARKER_GEN_END-->