2021-06-08 09:39:49 +02:00
|
|
|
command: docker compose cp
|
|
|
|
short: Copy files/folders between a service container and the local filesystem
|
|
|
|
long: Copy files/folders between a service container and the local filesystem
|
2022-07-26 14:58:08 +02:00
|
|
|
usage: |-
|
|
|
|
docker compose cp [OPTIONS] SERVICE:SRC_PATH DEST_PATH|-
|
|
|
|
docker compose cp [OPTIONS] SRC_PATH|- SERVICE:DEST_PATH
|
2021-06-08 09:39:49 +02:00
|
|
|
pname: docker compose
|
|
|
|
plink: docker_compose.yaml
|
|
|
|
options:
|
2022-07-26 14:58:08 +02:00
|
|
|
- option: all
|
|
|
|
value_type: bool
|
|
|
|
default_value: "false"
|
2023-07-03 10:21:33 +02:00
|
|
|
description: copy to all the containers of the service.
|
2022-07-26 14:58:08 +02:00
|
|
|
deprecated: true
|
|
|
|
hidden: true
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
- option: archive
|
|
|
|
shorthand: a
|
|
|
|
value_type: bool
|
|
|
|
default_value: "false"
|
|
|
|
description: Archive mode (copy all uid/gid information)
|
|
|
|
deprecated: false
|
|
|
|
hidden: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
- option: follow-link
|
|
|
|
shorthand: L
|
|
|
|
value_type: bool
|
|
|
|
default_value: "false"
|
|
|
|
description: Always follow symbol link in SRC_PATH
|
|
|
|
deprecated: false
|
|
|
|
hidden: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
- option: index
|
|
|
|
value_type: int
|
|
|
|
default_value: "0"
|
2023-07-03 10:21:33 +02:00
|
|
|
description: index of the container if service has multiple replicas
|
2022-07-26 14:58:08 +02:00
|
|
|
deprecated: false
|
|
|
|
hidden: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
2023-05-05 12:43:27 +02:00
|
|
|
inherited_options:
|
|
|
|
- option: dry-run
|
|
|
|
value_type: bool
|
|
|
|
default_value: "false"
|
|
|
|
description: Execute command in dry run mode
|
|
|
|
deprecated: false
|
|
|
|
hidden: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
2021-06-08 09:39:49 +02:00
|
|
|
deprecated: false
|
2023-07-07 14:27:14 +02:00
|
|
|
hidden: false
|
2021-06-08 09:39:49 +02:00
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
|