Back to Docker

docker compose alpha generate

_vendor/github.com/docker/compose/v5/docs/reference/compose_alpha_generate.md

18.09-release670 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-->