DOCKER-COMPOSE-CP(1)
π docker-compose-cp β the manual, but make it cute π
okay so bestie, this is the page for docker-compose-cp, from the DOCKER-COMPOSE-CP(1) manual. it's literally all about yeeting files around between your service container and your local filesystem. slay.
β¨ NAME β¨
docker-compose-cp β copy files and folders between a service container and the local filesystem, no cap π«Ά
πΈ SYNOPSIS πΈ
docker compose cp [OPTIONS] SERVICE:SRC_PATH DEST_PATH|-
docker compose cp [OPTIONS] SRC_PATH|- SERVICE:DEST_PATH
so like. two directions. container β‘οΈ you, or you β‘οΈ container. the - at the end of the path is doing its own little thing (it's stdin/stdout energy, iykyk). π
π¦ DESCRIPTION π¦
copy files/folders between a service container and the local filesystem. that's it. that's the whole vibe. it's giving cp but the other side is a container. iconic. β¨
π OPTIONS π
-a,--archive[=false]β archive mode, aka copy all the uid/gid information too. the "preserve everything, leave nothing behind" setting. π₯-L,--follow-link[=false]β always follow the symbol link inSRC_PATH. yes always. it said what it said. π§-h,--help[=false]β help forcp. your lil emergency bestie when you forget a flag. π--index=0β index of the container, for when your service has multiple replicas and you gotta pick which one. default is0. π
π OPTIONS INHERITED FROM PARENT COMMANDS π
--dry-run[=false]β execute the command in dry run mode. nothing actually happens, it just β¨imaginesβ¨ doing it. perfect for a vibe check before you commit. π
β SEE ALSO β
Mar 2025 energy, and that's the DOCKER-COMPOSE-CP(1) page done bestie β go copy something iconic, and remember: -a for the archive girlies, -L for the link followers. periodt. ππβ¨
π¦ where this page comes from
- debian trixie: docker-compose 2.26.1-4 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms