You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/buildah-commit.1.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,6 +135,17 @@ image, to be used at run-time for retrieving the passphrase which was used to
135
135
encrypt the disk image. If not specified, a semi-random value will be derived
136
136
from the base image's image ID.
137
137
138
+
**--compression-format***format*
139
+
140
+
Specifies the compression format to use. Supported values are: `gzip`, `zstd` and `zstd:chunked`.
141
+
If not specified, the format is read from the `compression_format` setting in containers.conf.
142
+
Cannot be used together with **--disable-compression**.
143
+
144
+
**--compression-level***level*
145
+
146
+
Specifies the compression level to use. The value is specific to the compression algorithm used, e.g. for zstd the accepted values are in the range 1-20 (inclusive), while for gzip it is 1-9 (inclusive).
147
+
If not specified, the level is read from the `compression_level` setting in containers.conf.
148
+
138
149
**--disable-compression**, **-D**
139
150
140
151
Don't compress filesystem layers when building the image unless it is required
@@ -143,6 +154,7 @@ because image layers are compressed automatically when they are pushed to
143
154
registries, and images being written to local storage would only need to be
144
155
decompressed again to be stored. Compression can be forced in all cases by
145
156
specifying **--disable-compression=false**.
157
+
Cannot be used together with **--compression-format** or **--force-compression**.
146
158
147
159
**--encrypt-layer***layer(s)*
148
160
@@ -152,6 +164,11 @@ Layer(s) to encrypt: 0-indexed layer indices with support for negative indexing
152
164
153
165
The [protocol:keyfile] specifies the encryption protocol, which can be JWE (RFC7516), PGP (RFC4880), and PKCS7 (RFC2315) and the key material required for image encryption. For instance, jwe:/path/to/key.pem or pgp:admin@example.com or pkcs7:/path/to/x509-file.
154
166
167
+
**--force-compression**
168
+
169
+
If set, commit uses the specified compression algorithm even if the destination contains a differently-compressed variant already.
170
+
Defaults to `true` if **--compression-format** is explicitly specified on the command-line or `compression_format` is set in containers.conf, `false` otherwise.
171
+
155
172
**--format**, **-f***[oci | docker]*
156
173
157
174
Control the format for the image manifest and configuration data. Recognized
Copy file name to clipboardExpand all lines: docs/buildah-push.1.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,12 +42,12 @@ The default certificates directory is _/etc/containers/certs.d_.
42
42
43
43
Specifies the compression format to use. Supported values are: `gzip`, `zstd` and `zstd:chunked`.
44
44
`zstd:chunked` is incompatible with encrypting images, and will be treated as `zstd` with a warning in that case.
45
+
If not specified, the format is read from the `compression_format` setting in containers.conf.
45
46
46
47
**--compression-level***level*
47
48
48
-
Specify the compression level used with the compression.
49
-
50
49
Specifies the compression level to use. The value is specific to the compression algorithm used, e.g. for zstd the accepted values are in the range 1-20 (inclusive), while for gzip it is 1-9 (inclusive).
50
+
If not specified, the level is read from the `compression_level` setting in containers.conf.
51
51
52
52
**--creds***creds*
53
53
@@ -74,7 +74,7 @@ The [protocol:keyfile] specifies the encryption protocol, which can be JWE (RFC7
74
74
**--force-compression**
75
75
76
76
If set, push uses the specified compression algorithm even if the destination contains a differently-compressed variant already.
77
-
Defaults to `true` if `--compression-format` is explicitly specified on the command-line, `false` otherwise.
77
+
Defaults to `true` if `--compression-format` is explicitly specified on the command-line or `compression_format` is set in containers.conf, `false` otherwise.
0 commit comments