Copy files/folders between a container and the local filesystem
docker cp [OPTIONS] CONTAINER:SRC_PATH DEST_PATH|-
docker cp [OPTIONS] SRC_PATH|- CONTAINER:DEST_PATH
| Name, shorthand | Default | Description |
|---|---|---|
--follow-link, -L |
false |
Always follow symbol link in SRC_PATH |
| Command | Description |
|---|---|
| docker | The base command for the Docker CLI. |
Alias for docker container cp.
Feedback? Suggestions? Can't find something in the docs?