2022-03-09 12:57:07 +01:00
|
|
|
# docker compose cp
|
|
|
|
|
|
|
|
<!---MARKER_GEN_START-->
|
|
|
|
Copy files/folders between a service container and the local filesystem
|
|
|
|
|
|
|
|
### Options
|
|
|
|
|
|
|
|
| Name | Type | Default | Description |
|
|
|
|
| --- | --- | --- | --- |
|
|
|
|
| `-a`, `--archive` | | | Archive mode (copy all uid/gid information) |
|
|
|
|
| `-L`, `--follow-link` | | | Always follow symbol link in SRC_PATH |
|
2022-05-04 17:35:03 +02:00
|
|
|
| `--index` | `int` | `0` | Index of the container if there are multiple instances of a service . |
|
2022-03-09 12:57:07 +01:00
|
|
|
|
|
|
|
|
|
|
|
<!---MARKER_GEN_END-->
|
|
|
|
|