0a0dd116 |
% DOCKER(1) Docker User Manuals |
b07f1938 |
% Docker Community
% JUNE 2014 |
0a0dd116 |
# NAME |
f38232b4 |
docker-load - Load an image from a tar archive or STDIN |
0a0dd116 |
# SYNOPSIS |
b07f1938 |
**docker load** |
a2b529ea |
[**--help**] |
b07f1938 |
[**-i**|**--input**[=*INPUT*]] |
610ec8c7 |
[**-q**|**--quiet**] |
0a0dd116 |
# DESCRIPTION
Loads a tarred repository from a file or the standard input stream. |
9b5e0ea7 |
Restores both images and tags. Write image names or IDs imported it
standard output stream. |
0a0dd116 |
# OPTIONS |
a2b529ea |
**--help**
Print usage statement
|
0a0dd116 |
**-i**, **--input**="" |
ae45ffc1 |
Read from a tar archive file, instead of STDIN. The tarball may be compressed with gzip, bzip, or xz. |
0a0dd116 |
|
610ec8c7 |
**-q**, **--quiet** |
9b5e0ea7 |
Suppress the load progress bar but still outputs the imported images. |
610ec8c7 |
|
b07f1938 |
# EXAMPLES |
0a0dd116 |
|
29d01b7d |
$ docker images |
1ab7d76f |
REPOSITORY TAG IMAGE ID CREATED SIZE |
0a0dd116 |
busybox latest 769b9341d937 7 weeks ago 2.489 MB |
29d01b7d |
$ docker load --input fedora.tar |
9b5e0ea7 |
# […]
Loaded image: fedora:rawhide
# […]
Loaded image: fedora:20
# […] |
29d01b7d |
$ docker images |
1ab7d76f |
REPOSITORY TAG IMAGE ID CREATED SIZE |
0a0dd116 |
busybox latest 769b9341d937 7 weeks ago 2.489 MB
fedora rawhide 0d20aec6529d 7 weeks ago 387 MB
fedora 20 58394af37342 7 weeks ago 385.5 MB
fedora heisenbug 58394af37342 7 weeks ago 385.5 MB
fedora latest 58394af37342 7 weeks ago 385.5 MB
|
cbb149f5 |
# See also |
5a701c3e |
**docker-save(1)** to save one or more images to a tar archive (streamed to STDOUT by default). |
cbb149f5 |
|
0a0dd116 |
# HISTORY
April 2014, Originally compiled by William Henry (whenry at redhat dot com) |
fa29b1f0 |
based on docker.com source material and internal work. |
b07f1938 |
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au> |
ae45ffc1 |
July 2015 update by Mary Anthony <mary@docker.com> |
9b5e0ea7 |
June 2016 update by Vincent Demeester <vincent@sbr.pm> |