---
name: "docker-cp"
section: "1"
platform: "linux"
package: "docker"
version: "1:29.9.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/docker-cp"
---

# docker-cp(1)

Copy files/folders between a container and the local filesystem

## NAME

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

## 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 symlinks in SRC\_PATH

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

## SEE ALSO

**[docker(1)](/docker/1.md)**
