compose/docs/reference/compose_alpha_generate.md

672 B

docker compose alpha generate

EXPERIMENTAL - Generate a Compose file from existing containers

Options

Name Type Default Description
--dry-run bool Execute command in dry run mode
--format string yaml Format the output. Values: [yaml | json]
--name string Project name to set in the Compose file
--project-dir string Directory to use for the project