DOCKER(1) Docker User Manuals DOCKER(1)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

**docker cp \[OPTIONS] CONTAINER:SRC\_PATH DEST\_PATH|-** **docker cp \[OPTIONS] SRC\_PATH|- CONTAINER:DEST\_PATH**

# [DESCRIPTION](#DESCRIPTION)

Alias for **docker container cp**.

# [OPTIONS](#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](#SEE_ALSO)

[**docker(1)**](/man/enterprise-packages/docker-cli-fips/docker.1)

Oct 2026 Docker Community

---

Document: docker-cp(1) from docker-cli-fips 29.9.2-r0 (Chainguard OS)
Source: https://github.com/docker/cli
