File: compose_cp.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 (18 lines) | stat: -rw-r--r-- 879 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# docker compose cp

<!---MARKER_GEN_START-->
Copy files/folders between a service container and the local filesystem

### Options

| Name                  | Type   | Default | Description                                             |
|:----------------------|:-------|:--------|:--------------------------------------------------------|
| `--all`               | `bool` |         | Include containers created by the run command           |
| `-a`, `--archive`     | `bool` |         | Archive mode (copy all uid/gid information)             |
| `--dry-run`           | `bool` |         | Execute command in dry run mode                         |
| `-L`, `--follow-link` | `bool` |         | Always follow symbol link in SRC_PATH                   |
| `--index`             | `int`  | `0`     | Index of the container if service has multiple replicas |


<!---MARKER_GEN_END-->