github.com/sijibomii/docker@v0.0.0-20231230191044-5cf6ca554647/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.
    17  
    18  # OPTIONS
    19  **--help**
    20    Print usage statement
    21  
    22  **-i**, **--input**=""
    23     Read from a tar archive file, instead of STDIN. The tarball may be compressed with gzip, bzip, or xz.
    24  
    25  **-q**, **--quiet**
    26     Suppress the load output. Without this option, a progress bar is displayed.
    27  
    28  # EXAMPLES
    29  
    30      $ docker images
    31      REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
    32      busybox             latest              769b9341d937        7 weeks ago         2.489 MB
    33      $ docker load --input fedora.tar
    34      $ docker images
    35      REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
    36      busybox             latest              769b9341d937        7 weeks ago         2.489 MB
    37      fedora              rawhide             0d20aec6529d        7 weeks ago         387 MB
    38      fedora              20                  58394af37342        7 weeks ago         385.5 MB
    39      fedora              heisenbug           58394af37342        7 weeks ago         385.5 MB
    40      fedora              latest              58394af37342        7 weeks ago         385.5 MB
    41  
    42  # See also
    43  **docker-save(1)** to save one or more images to a tar archive (streamed to STDOUT by default).
    44  
    45  # HISTORY
    46  April 2014, Originally compiled by William Henry (whenry at redhat dot com)
    47  based on docker.com source material and internal work.
    48  June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
    49  July 2015 update by Mary Anthony <mary@docker.com>