mirror of
https://github.com/docker/cli.git
synced 2025-08-31 23:02:07 +03:00
Keep frontmatter for docker, dockerd and index markdown files. Also needs to move cli.md > docker.md before generation and then move it back because cli.md is needed for yaml generation on docs website: https://github.com/docker/cli/pull/3924#discussion_r1059986605 Signed-off-by: Kevin Alvarez <crazy-max@users.noreply.github.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
29 lines
1.2 KiB
Markdown
29 lines
1.2 KiB
Markdown
# container cp
|
|
|
|
<!---MARKER_GEN_START-->
|
|
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` | | | Archive mode (copy all uid/gid information) |
|
|
| `-L`, `--follow-link` | | | Always follow symbol link in SRC_PATH |
|
|
| `-q`, `--quiet` | | | Suppress progress output during copy. Progress output is automatically suppressed if no terminal is attached |
|
|
|
|
|
|
<!---MARKER_GEN_END-->
|
|
|
|
## Description
|
|
|
|
See [docker cp](cp.md) for more information.
|