| DOCKER-COMPOSE-CP(1) | DOCKER-COMPOSE-CP(1) |
docker-compose-cp - Copy files/folders between a service container and the local filesystem
docker compose cp [OPTIONS] SERVICE:SRC_PATH DEST_PATH|- docker compose cp [OPTIONS] SRC_PATH|- SERVICE:DEST_PATH
Copy files/folders between a service container and the local filesystem
-a, --archive[=false] Archive mode (copy all uid/gid information)
-L, --follow-link[=false] Always follow symbol link in SRC_PATH
-h, --help[=false] help for cp
--index=0 Index of the container if service has multiple replicas
--dry-run[=false] Execute command in dry run mode
| Mar 2025 |