mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-03 15:28:35 +00:00
Merge pull request #11177 from duglin/10805-cp-to-stdot
Add support for 'docker cp' to write to stdout
This commit is contained in:
@@ -757,12 +757,15 @@ Supported `Dockerfile` instructions: `CMD`, `ENTRYPOINT`, `ENV`, `EXPOSE`,
|
||||
|
||||
## cp
|
||||
|
||||
Copy files/folders from a container's filesystem to the host
|
||||
path. Paths are relative to the root of the filesystem.
|
||||
Copy files/folders from a container's filesystem to the
|
||||
path. Use '-' to write the data as a tar file to STDOUT.
|
||||
Paths are relative to the root of the filesystem.
|
||||
|
||||
Usage: docker cp CONTAINER:PATH HOSTPATH
|
||||
Usage: docker cp CONTAINER:PATH HOSTPATH|-
|
||||
|
||||
Copy files/folders from the PATH to the HOSTPATH. Use '-' to write the data
|
||||
as a tar file to STDOUT.
|
||||
|
||||
Copy files/folders from the PATH to the HOSTPATH
|
||||
|
||||
## create
|
||||
|
||||
|
||||
Reference in New Issue
Block a user