1podman-load(1) General Commands Manual podman-load(1)
2
3
4
6 podman-load - Load image(s) from a tar archive into container storage
7
8
10 podman load [options]
11
12
13 podman image load [options]
14
15
17 podman load loads an image from either an oci-archive or a docker-ar‐
18 chive stored on the local machine into container storage. podman load
19 reads from stdin by default or a file if the input option is set. pod‐
20 man load is used for loading from the archive generated by podman save,
21 that includes the image parent layers. To load the archive of con‐
22 tainer's filesystem created by podman export, use podman import.
23
24
25 The local client further supports loading an oci-dir or a docker-dir as
26 created with podman save (1).
27
28
29 The quiet option suppresses the progress output when set. Note: : is a
30 restricted character and cannot be part of the file name.
31
32
33 podman [GLOBAL OPTIONS]
34
35
36 podman load [GLOBAL OPTIONS]
37
38
39 podman load [OPTIONS]
40
41
43 --help, -h
44 Print usage statement
45
46
47 --input, -i=input
48 Load the specified input file instead of from stdin. The file can be
49 on the local file system or on a server (e.g., https://server.com/ar‐
50 chive.tar)
51
52
53 The remote client, including Mac and Windows (excluding WSL2) machines,
54 requires the use of this option.
55
56
57 NOTE: Use the environment variable TMPDIR to change the temporary stor‐
58 age location of container images. Podman defaults to use /var/tmp.
59
60
61 --quiet, -q
62 Suppress the progress output
63
64
66 $ podman load --quiet -i fedora.tar
67
68
69
70 $ podman load -q -i https://server.com/archive.tar
71
72
73
74 $ podman load < fedora.tar
75 Getting image source signatures
76 Copying blob sha256:5bef08742407efd622d243692b79ba0055383bbce12900324f75e56f589aedb0
77 0 B / 4.03 MB [---------------------------------------------------------------]
78 Copying config sha256:7328f6f8b41890597575cbaadc884e7386ae0acc53b747401ebce5cf0d624560
79 0 B / 1.48 KB [---------------------------------------------------------------]
80 Writing manifest to image destination
81 Storing signatures
82 Loaded image: registry.fedoraproject.org/fedora:latest
83
84
85
86 $ cat fedora.tar | podman load
87 Getting image source signatures
88 Copying blob sha256:5bef08742407efd622d243692b79ba0055383bbce12900324f75e56f589aedb0
89 0 B / 4.03 MB [---------------------------------------------------------------]
90 Copying config sha256:7328f6f8b41890597575cbaadc884e7386ae0acc53b747401ebce5cf0d624560
91 0 B / 1.48 KB [---------------------------------------------------------------]
92 Writing manifest to image destination
93 Storing signatures
94 Loaded image: registry.fedoraproject.org/fedora:latest
95
96
97
99 podman(1), podman-save(1)
100
101
103 July 2017, Originally compiled by Urvashi Mohnani umohnani@redhat.com
104 ⟨mailto:umohnani@redhat.com⟩
105
106
107
108 podman-load(1)