github.com/ph/moby@v1.13.1/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 or STDIN
     6  
     7  # SYNOPSIS
     8  **docker load**
     9  [**--help**]
    10  [**-i**|**--input**[=*INPUT*]]
    11  [**-q**|**--quiet**]
    12  
    13  # DESCRIPTION
    14  
    15  Loads a tarred repository from a file or the standard input stream.
    16  Restores both images and tags. Write image names or IDs imported it
    17  standard output stream.
    18  
    19  # OPTIONS
    20  **--help**
    21    Print usage statement
    22  
    23  **-i**, **--input**=""
    24     Read from a tar archive file, instead of STDIN. The tarball may be compressed with gzip, bzip, or xz.
    25  
    26  **-q**, **--quiet**
    27     Suppress the load progress bar but still outputs the imported images.
    28  
    29  # EXAMPLES
    30  
    31      $ docker images
    32      REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
    33      busybox             latest              769b9341d937        7 weeks ago         2.489 MB
    34      $ docker load --input fedora.tar
    35      # […]
    36      Loaded image: fedora:rawhide
    37      # […]
    38      Loaded image: fedora:20
    39      # […]
    40      $ docker images
    41      REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
    42      busybox             latest              769b9341d937        7 weeks ago         2.489 MB
    43      fedora              rawhide             0d20aec6529d        7 weeks ago         387 MB
    44      fedora              20                  58394af37342        7 weeks ago         385.5 MB
    45      fedora              heisenbug           58394af37342        7 weeks ago         385.5 MB
    46      fedora              latest              58394af37342        7 weeks ago         385.5 MB
    47  
    48  # See also
    49  **docker-save(1)** to save one or more images to a tar archive (streamed to STDOUT by default).
    50  
    51  # HISTORY
    52  April 2014, Originally compiled by William Henry (whenry at redhat dot com)
    53  based on docker.com source material and internal work.
    54  June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
    55  July 2015 update by Mary Anthony <mary@docker.com>
    56  June 2016 update by Vincent Demeester <vincent@sbr.pm>