1podman-save(1)              General Commands Manual             podman-save(1)
2
3
4

NAME

6       podman-save - Save an image to a container archive
7
8

SYNOPSIS

10       podman save [options] name[:tag]
11
12

DESCRIPTION

14       podman save saves an image to either docker-archive, oci-archive,
15       oci-dir (directory with oci manifest type), or docker-dir (directory
16       with v2s2 manifest type) on the local machine, default is
17       docker-archive. podman save writes to STDOUT by default and can be
18       redirected to a file using the output flag. The quiet flag suppresses
19       the output when set.  Note: : is a restricted character and cannot be
20       part of the file name.
21
22
23       podman [GLOBAL OPTIONS]
24
25
26       podman save [GLOBAL OPTIONS]
27
28
29       podman save [OPTIONS] NAME[:TAG]
30
31

OPTIONS

33       --compress
34
35
36       Compress tarball image layers when pushing to a directory using the
37       'dir' transport. (default is same compression type, compressed or
38       uncompressed, as source) Note: This flag can only be set when using the
39       dir transport i.e --format=oci-dir or --format-docker-dir
40
41
42       --output, -o
43
44
45       Write to a file, default is STDOUT
46
47
48       --format
49
50
51       Save image to oci-archive, oci-dir (directory with oci manifest type),
52       or docker-dir (directory with v2s2 manifest type)
53
54
55              --format oci-archive
56              --format oci-dir
57              --format docker-dir
58
59
60
61       --quiet, -q
62
63
64       Suppress the output
65
66
67       --help, -h
68
69
70       Print usage statement
71
72

EXAMPLES

74              $ podman save --quiet -o alpine.tar alpine:2.6
75
76
77
78              $ podman save > alpine-all.tar alpine
79
80
81
82              $ podman save -o oci-alpine.tar --format oci-archive alpine
83
84
85
86              $ podman save --compress --format oci-dir -o alp-dir alpine
87              Getting image source signatures
88              Copying blob sha256:2fdfe1cd78c20d05774f0919be19bc1a3e4729bce219968e4188e7e0f1af679d
89               1.97 MB / 1.97 MB [========================================================] 0s
90              Copying config sha256:501d1a8f0487e93128df34ea349795bc324d5e0c0d5112e08386a9dfaff620be
91               584 B / 584 B [============================================================] 0s
92              Writing manifest to image destination
93              Storing signatures
94
95
96
97              $ podman save --format docker-dir -o ubuntu-dir ubuntu
98              Getting image source signatures
99              Copying blob sha256:660c48dd555dcbfdfe19c80a30f557ac57a15f595250e67bfad1e5663c1725bb
100               45.55 MB / 45.55 MB [======================================================] 8s
101              Copying blob sha256:4c7380416e7816a5ab1f840482c9c3ca8de58c6f3ee7f95e55ad299abbfe599f
102               846 B / 846 B [============================================================] 0s
103              Copying blob sha256:421e436b5f80d876128b74139531693be9b4e59e4f1081c9a3c379c95094e375
104               620 B / 620 B [============================================================] 0s
105              Copying blob sha256:e4ce6c3651b3a090bb43688f512f687ea6e3e533132bcbc4a83fb97e7046cea3
106               849 B / 849 B [============================================================] 0s
107              Copying blob sha256:be588e74bd348ce48bb7161350f4b9d783c331f37a853a80b0b4abc0a33c569e
108               169 B / 169 B [============================================================] 0s
109              Copying config sha256:20c44cd7596ff4807aef84273c99588d22749e2a7e15a7545ac96347baa65eda
110               3.53 KB / 3.53 KB [========================================================] 0s
111              Writing manifest to image destination
112              Storing signatures
113
114
115

SEE ALSO

117       podman(1), podman-load(1)
118
119

HISTORY

121       July 2017, Originally compiled by Urvashi Mohnani ⟨umohnani@redhat.com⟩
122
123
124
125                                                                podman-save(1)
Impressum