| 1 |
# docker compose cp |
| 2 |
|
| 3 |
<!---MARKER_GEN_START--> |
| 4 |
Copy files/folders between a service container and the local filesystem |
| 5 |
|
| 6 |
### Options |
| 7 |
|
| 8 |
| Name | Type | Default | Description | |
| 9 |
|:----------------------|:-------|:--------|:--------------------------------------------------------| |
| 10 |
| `--all` | `bool` | | Include containers created by the run command | |
| 11 |
| `-a`, `--archive` | `bool` | | Archive mode (copy all uid/gid information) | |
| 12 |
| `--dry-run` | `bool` | | Execute command in dry run mode | |
| 13 |
| `-L`, `--follow-link` | `bool` | | Always follow symbol link in SRC_PATH | |
| 14 |
| `--index` | `int` | `0` | Index of the container if service has multiple replicas | |
| 15 |
|
| 16 |
|
| 17 |
<!---MARKER_GEN_END--> |
| 18 |
|