github.com/guilhermebr/docker@v1.4.2-0.20150428121140-67da055cebca/docs/man/docker-load.1.md (about)

     1  % DOCKER(1) Docker User Manuals
     2  % Docker Community
     3  % JUNE 2014
     4  # NAME
     5  docker-load - Load an image from a tar archive on STDIN
     6  
     7  # SYNOPSIS
     8  **docker load**
     9  [**--help**]
    10  [**-i**|**--input**[=*INPUT*]]
    11  
    12  
    13  # DESCRIPTION
    14  
    15  Loads a tarred repository from a file or the standard input stream.
    16  Restores both images and tags.
    17  
    18  # OPTIONS
    19  **--help**
    20    Print usage statement
    21  
    22  **-i**, **--input**=""
    23     Read from a tar archive file, instead of STDIN
    24  
    25  # EXAMPLES
    26  
    27      $ docker images
    28      REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
    29      busybox             latest              769b9341d937        7 weeks ago         2.489 MB
    30      $ docker load --input fedora.tar
    31      $ docker images
    32      REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
    33      busybox             latest              769b9341d937        7 weeks ago         2.489 MB
    34      fedora              rawhide             0d20aec6529d        7 weeks ago         387 MB
    35      fedora              20                  58394af37342        7 weeks ago         385.5 MB
    36      fedora              heisenbug           58394af37342        7 weeks ago         385.5 MB
    37      fedora              latest              58394af37342        7 weeks ago         385.5 MB
    38  
    39  # See also
    40  **docker-save(1)** to save an image(s) to a tar archive (streamed to STDOUT by default).
    41  
    42  # HISTORY
    43  April 2014, Originally compiled by William Henry (whenry at redhat dot com)
    44  based on docker.com source material and internal work.
    45  June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>