github.com/tompao/docker@v1.9.1/docs/reference/commandline/load.md (about)

     1  <!--[metadata]>
     2  +++
     3  title = "load"
     4  description = "The load command description and usage"
     5  keywords = ["stdin, tarred, repository"]
     6  [menu.main]
     7  parent = "smn_cli"
     8  +++
     9  <![end-metadata]-->
    10  
    11  # load
    12  
    13      Usage: docker load [OPTIONS]
    14  
    15      Load an image from a tar archive or STDIN
    16  
    17        --help=false       Print usage
    18        -i, --input=""     Read from a tar archive file, instead of STDIN. The tarball may be compressed with gzip, bzip, or xz
    19  
    20  Loads a tarred repository from a file or the standard input stream.
    21  Restores both images and tags.
    22  
    23      $ docker images
    24      REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
    25      $ docker load < busybox.tar.gz
    26      $ docker images
    27      REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
    28      busybox             latest              769b9341d937        7 weeks ago         2.489 MB
    29      $ docker load --input fedora.tar
    30      $ docker images
    31      REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
    32      busybox             latest              769b9341d937        7 weeks ago         2.489 MB
    33      fedora              rawhide             0d20aec6529d        7 weeks ago         387 MB
    34      fedora              20                  58394af37342        7 weeks ago         385.5 MB
    35      fedora              heisenbug           58394af37342        7 weeks ago         385.5 MB
    36      fedora              latest              58394af37342        7 weeks ago         385.5 MB