mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 21:21:42 +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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user