Merge pull request #2723 from SvenDowideit/doc-build-image

Use the work Path for docker cp CONTAINER:PATH
This commit is contained in:
Michael Crosby
2013-11-20 11:10:13 -08:00
3 changed files with 9 additions and 4 deletions
+6 -1
View File
@@ -219,10 +219,15 @@ Full -run example
::
Usage: docker cp CONTAINER:RESOURCE HOSTPATH
Usage: docker cp CONTAINER:PATH HOSTPATH
Copy files/folders from the containers filesystem to the host
path. Paths are relative to the root of the filesystem.
.. code-block:: bash
$ sudo docker cp 7bb0e258aefe:/etc/debian_version .
$ sudo docker cp blue_frog:/etc/hosts .
.. _cli_diff: