1DOCKER(1) JUNE 2014 DOCKER(1)
2
3
4
6 docker-load - Load an image from a tar archive or STDIN
7
8
9
11 docker load [--help] [-i|--input[=INPUT]] [-q|--quiet]
12
13
14
16 Loads a tarred repository from a file or the standard input stream.
17 Restores both images and tags. Write image names or IDs imported it
18 standard output stream.
19
20
21
23 --help
24 Print usage statement
25
26
27 -i, --input=""
28 Read from a tar archive file, instead of STDIN. The tarball may be
29 compressed with gzip, bzip, or xz.
30
31
32 -q, --quiet
33 Suppress the load progress bar but still outputs the imported
34 images.
35
36
37
39 $ docker images
40 REPOSITORY TAG IMAGE ID CREATED SIZE
41 busybox latest 769b9341d937 7 weeks ago 2.489 MB
42 $ docker load --input fedora.tar
43 # […]
44 Loaded image: fedora:rawhide
45 # […]
46 Loaded image: fedora:20
47 # […]
48 $ docker images
49 REPOSITORY TAG IMAGE ID CREATED SIZE
50 busybox latest 769b9341d937 7 weeks ago 2.489 MB
51 fedora rawhide 0d20aec6529d 7 weeks ago 387 MB
52 fedora 20 58394af37342 7 weeks ago 385.5 MB
53 fedora heisenbug 58394af37342 7 weeks ago 385.5 MB
54 fedora latest 58394af37342 7 weeks ago 385.5 MB
55
56
57
58
60 docker-save(1) to save one or more images to a tar archive (streamed to
61 STDOUT by default).
62
63
64
66 April 2014, Originally compiled by William Henry (whenry at redhat dot
67 com) based on docker.com source material and internal work. June 2014,
68 updated by Sven Dowideit ⟨SvenDowideit@home.org.au⟩ July 2015 update by
69 Mary Anthony ⟨mary@docker.com⟩ June 2016 update by Vincent Demeester
70 ⟨vincent@sbr.pm⟩
71
72
73
74Docker Community Docker User Manuals DOCKER(1)