github.com/stchris/docker@v1.4.2-0.20150106053530-1510a324dbd5/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  CONTAINER:PATH HOSTPATH
    10  
    11  # DESCRIPTION
    12  Copy files/folders from a container's filesystem to the host
    13  path. Paths are relative to the root of the filesystem. Files
    14  can be copied from a running or stopped container.
    15  
    16  # OPTIONS
    17  There are no available options.
    18  
    19  # EXAMPLES
    20  An important shell script file, created in a bash shell, is copied from
    21  the exited container to the current dir on the host:
    22  
    23      # docker cp c071f3c3ee81:setup.sh .
    24  
    25  # HISTORY
    26  April 2014, Originally compiled by William Henry (whenry at redhat dot com)
    27  based on docker.com source material and internal work.
    28  June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>