Files
cli/docs/reference/commandline/cp.md
T
Sebastiaan van Stijn 88e93954a6 docs, completion: use symlinks instead of symbol(ic) links
Symbolic links is the official term, but more commonly we refer to
them as symlinkx.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-05-14 03:07:19 +02:00

1.1 KiB

docker cp

Copy files/folders between a container and the local filesystem

Use '-' as the source to read a tar archive from stdin and extract it to a directory destination in a container. Use '-' as the destination to stream a tar archive of a container source to stdout.

Aliases

docker container cp, docker cp

Options

Name Type Default Description
-a, --archive bool Archive mode (copy all uid/gid information)
-L, --follow-link bool Always follow symlinks in SRC_PATH
-q, --quiet bool Suppress progress output during copy. Progress output is automatically suppressed if no terminal is attached