components/docker/files/man/docker-load.1
changeset 6468 af5d82385cd7
equal deleted inserted replaced
6467:e5632698211d 6468:af5d82385cd7
       
     1 .TH "DOCKER" "1" " Docker User Manuals" "Docker Community" "JUNE 2014"  ""
       
     2 
       
     3 
       
     4 .SH NAME
       
     5 .PP
       
     6 docker\-load \- Load an image from a tar archive or STDIN
       
     7 
       
     8 
       
     9 .SH SYNOPSIS
       
    10 .PP
       
    11 \fBdocker load\fP
       
    12 [\fB\-\-help\fP]
       
    13 [\fB\-i\fP|\fB\-\-input\fP[=\fIINPUT\fP]]
       
    14 
       
    15 
       
    16 .SH DESCRIPTION
       
    17 .PP
       
    18 Loads a tarred repository from a file or the standard input stream.
       
    19 Restores both images and tags.
       
    20 
       
    21 
       
    22 .SH OPTIONS
       
    23 .PP
       
    24 \fB\-\-help\fP
       
    25   Print usage statement
       
    26 
       
    27 .PP
       
    28 \fB\-i\fP, \fB\-\-input\fP=""
       
    29    Read from a tar archive file, instead of STDIN. The tarball may be compressed with gzip, bzip, or xz.
       
    30 
       
    31 
       
    32 .SH EXAMPLES
       
    33 .PP
       
    34 .RS
       
    35 
       
    36 .nf
       
    37 $ docker images
       
    38 REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
       
    39 busybox             latest              769b9341d937        7 weeks ago         2.489 MB
       
    40 $ docker load \-\-input fedora.tar
       
    41 $ docker images
       
    42 REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
       
    43 busybox             latest              769b9341d937        7 weeks ago         2.489 MB
       
    44 fedora              rawhide             0d20aec6529d        7 weeks ago         387 MB
       
    45 fedora              20                  58394af37342        7 weeks ago         385.5 MB
       
    46 fedora              heisenbug           58394af37342        7 weeks ago         385.5 MB
       
    47 fedora              latest              58394af37342        7 weeks ago         385.5 MB
       
    48 
       
    49 .fi
       
    50 .RE
       
    51 
       
    52 
       
    53 .SH See also
       
    54 .PP
       
    55 \fBdocker\-save(1)\fP to save an image(s) to a tar archive (streamed to STDOUT by default).
       
    56 
       
    57 
       
    58 .SH HISTORY
       
    59 .PP
       
    60 April 2014, Originally compiled by William Henry (whenry at redhat dot com)
       
    61 based on docker.com source material and internal work.
       
    62 June 2014, updated by Sven Dowideit 
       
    63 \[la][email protected]\[ra]
       
    64 July 2015 update by Mary Anthony 
       
    65 \[la][email protected]\[ra]