docker-cp - Man Page
Copy files/folders between a container and the local filesystem
Examples (TL;DR)
- View documentation for the original command:
tldr docker container cp
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
-q, --quiet[=false] Suppress progress output during copy. Progress output is automatically suppressed if no terminal is attached
See Also
Info
Dec 2025 Docker Community Docker User Manuals