docker-cp - Man Page

Copy files/folders between a container and the local filesystem

Examples (TL;DR)

Synopsis

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

Description

Alias for docker container cp.

Options

-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

-q, --quiet[=false] Suppress progress output during copy. Progress output is automatically suppressed if no terminal is attached

See Also

docker(1)

Info

Aug 2024 Docker Community Docker User Manuals