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). Also supports loading in compressed files.
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.gz
67
68
69 $ podman load -q -i https://server.com/archive.tar
70
71
72 $ podman load < fedora.tar
73 Getting image source signatures
74 Copying blob sha256:5bef08742407efd622d243692b79ba0055383bbce12900324f75e56f589aedb0
75 0 B / 4.03 MB [---------------------------------------------------------------]
76 Copying config sha256:7328f6f8b41890597575cbaadc884e7386ae0acc53b747401ebce5cf0d624560
77 0 B / 1.48 KB [---------------------------------------------------------------]
78 Writing manifest to image destination
79 Storing signatures
80 Loaded image: registry.fedoraproject.org/fedora:latest
81
82
83 $ cat fedora.tar | podman load
84 Getting image source signatures
85 Copying blob sha256:5bef08742407efd622d243692b79ba0055383bbce12900324f75e56f589aedb0
86 0 B / 4.03 MB [---------------------------------------------------------------]
87 Copying config sha256:7328f6f8b41890597575cbaadc884e7386ae0acc53b747401ebce5cf0d624560
88 0 B / 1.48 KB [---------------------------------------------------------------]
89 Writing manifest to image destination
90 Storing signatures
91 Loaded image: registry.fedoraproject.org/fedora:latest
92
93
94
96 podman(1), podman-save(1)
97
98
100 July 2017, Originally compiled by Urvashi Mohnani umohnani@redhat.com
101 ⟨mailto:umohnani@redhat.com⟩
102
103
104
105 podman-load(1)