File: compose_alpha_generate.md

package info (click to toggle)
docker-compose 2.32.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,300 kB
  • sloc: makefile: 113; sh: 2
file content (17 lines) | stat: -rw-r--r-- 672 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# docker compose alpha generate

<!---MARKER_GEN_START-->
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          |


<!---MARKER_GEN_END-->