Merge pull request #11177 from duglin/10805-cp-to-stdot

Add support for 'docker cp' to write to stdout
This commit is contained in:
moxiegirl
2015-03-09 09:51:48 -07:00
5 changed files with 50 additions and 11 deletions
+5 -4
View File
@@ -2,16 +2,17 @@
% Docker Community
% JUNE 2014
# NAME
docker-cp - Copy files/folders from the PATH to the HOSTPATH
docker-cp - Copy files/folders from the PATH to the HOSTPATH, or STDOUT
# SYNOPSIS
**docker cp**
[**--help**]
CONTAINER:PATH HOSTPATH
CONTAINER:PATH HOSTPATH|-
# DESCRIPTION
Copy files/folders from a container's filesystem to the host
path. Paths are relative to the root of the filesystem. Files
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. Files
can be copied from a running or stopped container.
# OPTIONS
+1 -1
View File
@@ -117,7 +117,7 @@ unix://[/path/to/socket] to use.
Create a new image from a container's changes
**docker-cp(1)**
Copy files/folders from a container's filesystem to the host at path
Copy files/folders from a container's filesystem to the host
**docker-create(1)**
Create a new container