DOKK / manpages / debian 11 / docker.io / docker-cp.1.en
DOCKER(1) Docker User Manuals DOCKER(1)

docker-cp - Copy files/folders between a container and the local filesystem

docker cp [OPTIONS] CONTAINER:SRC_PATH DEST_PATH|- docker cp [OPTIONS] SRC_PATH|- CONTAINER:DEST_PATH

Alias for docker container cp.

-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

docker(1)

May 2022 Docker Community