github.com/chenchun/docker@v1.3.2-0.20150629222414-20467faf132b/docs/reference/commandline/cp.md (about)

     1  <!--[metadata]>
     2  +++
     3  title = "cp"
     4  description = "The cp command description and usage"
     5  keywords = ["copy, container, files, folders"]
     6  [menu.main]
     7  parent = "smn_cli"
     8  weight=1
     9  +++
    10  <![end-metadata]-->
    11  
    12  # cp
    13  
    14      Usage: docker cp CONTAINER:PATH HOSTDIR|-
    15  
    16      Copy files/folders from the PATH to the HOSTDIR.
    17  
    18  Copy files or folders from a container's filesystem to the directory on the
    19  host. Use '-' to write the data as a tar file to `STDOUT`. `CONTAINER:PATH` is
    20  relative to the root of the container's filesystem.
    21  
    22