github.com/eikeon/docker@v1.5.0-rc4/docs/man/docker-cp.1.md (about)

     1  % DOCKER(1) Docker User Manuals
     2  % Docker Community
     3  % JUNE 2014
     4  # NAME
     5  docker-cp - Copy files/folders from the PATH to the HOSTPATH
     6  
     7  # SYNOPSIS
     8  **docker cp**
     9  [**--help**]
    10  CONTAINER:PATH HOSTPATH
    11  
    12  # DESCRIPTION
    13  Copy files/folders from a container's filesystem to the host
    14  path. Paths are relative to the root of the filesystem. Files
    15  can be copied from a running or stopped container.
    16  
    17  # OPTIONS
    18  **--help**
    19    Print usage statement
    20  
    21  # EXAMPLES
    22  An important shell script file, created in a bash shell, is copied from
    23  the exited container to the current dir on the host:
    24  
    25      # docker cp c071f3c3ee81:setup.sh .
    26  
    27  # HISTORY
    28  April 2014, Originally compiled by William Henry (whenry at redhat dot com)
    29  based on docker.com source material and internal work.
    30  June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>