github.com/feiyang21687/docker@v1.5.0/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      $ sudo docker images
    28      REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
    29      busybox             latest              769b9341d937        7 weeks ago         2.489 MB
    30      $ sudo docker load --input fedora.tar
    31      $ sudo 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  # HISTORY
    40  April 2014, Originally compiled by William Henry (whenry at redhat dot com)
    41  based on docker.com source material and internal work.
    42  June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>