| 1 |
# docker compose export |
| 2 |
|
| 3 |
<!---MARKER_GEN_START--> |
| 4 |
Export a service container's filesystem as a tar archive |
| 5 |
|
| 6 |
### Options |
| 7 |
|
| 8 |
| Name | Type | Default | Description | |
| 9 |
|:-----------------|:---------|:--------|:---------------------------------------------------------| |
| 10 |
| `--dry-run` | `bool` | | Execute command in dry run mode | |
| 11 |
| `--index` | `int` | `0` | index of the container if service has multiple replicas. | |
| 12 |
| `-o`, `--output` | `string` | | Write to a file, instead of STDOUT | |
| 13 |
|
| 14 |
|
| 15 |
<!---MARKER_GEN_END--> |
| 16 |
|