Add cp command and copy api endpoint

The cp command and copy api endpoint allows users
to copy files and or folders from a containers filesystem.

Closes #382
This commit is contained in:
Michael Crosby
2013-08-06 16:09:54 +00:00
parent 0dbc51f4d2
commit 5b8cfbe15c
10 changed files with 202 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
:title: Cp Command
:description: Copy files/folders from the containers filesystem to the host path
:keywords: cp, docker, container, documentation, copy
===========================================================
``cp`` -- Copy files/folders from the containers filesystem to the host path
===========================================================
::
Usage: docker cp CONTAINER:RESOURCE HOSTPATH
Copy files/folders from the containers filesystem to the host path. Paths are relative to the root of the filesystem.