github.com/feiyang21687/docker@v1.5.0/docs/man/docker-export.1.md (about)

     1  % DOCKER(1) Docker User Manuals
     2  % Docker Community
     3  % JUNE 2014
     4  # NAME
     5  docker-export - Export the contents of a filesystem as a tar archive to STDOUT
     6  
     7  # SYNOPSIS
     8  **docker export**
     9  [**--help**]
    10  CONTAINER
    11  
    12  # DESCRIPTION
    13  Export the contents of a container's filesystem using the full or shortened
    14  container ID or container name. The output is exported to STDOUT and can be
    15  redirected to a tar file.
    16  
    17  # OPTIONS
    18  **--help**
    19    Print usage statement
    20  
    21  # EXAMPLES
    22  Export the contents of the container called angry_bell to a tar file
    23  called test.tar:
    24  
    25      # docker export angry_bell > test.tar
    26      # ls *.tar
    27      test.tar
    28  
    29  # HISTORY
    30  April 2014, Originally compiled by William Henry (whenry at redhat dot com)
    31  based on docker.com source material and internal work.
    32  June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>