mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
push, manifest-push: --force-compression must be true with --compression-format
Value of `--force-compression` should be already `true` is `--compression-format` is selected otherwise let users decide. Signed-off-by: Aditya R <arajan@redhat.com>
This commit is contained in:
8
docs/source/markdown/options/force-compression.md
Normal file
8
docs/source/markdown/options/force-compression.md
Normal file
@ -0,0 +1,8 @@
|
||||
####> This option file is used in:
|
||||
####> podman manifest push, push
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--force-compression**
|
||||
|
||||
If set, push uses the specified compression algorithm even if the destination contains a differently-compressed variant already.
|
||||
Defaults to `true` if `--compression-format` is explicitly specified on the command-line, `false` otherwise.
|
@ -42,11 +42,7 @@ the list or index itself. (Default true)
|
||||
|
||||
@@option digestfile
|
||||
|
||||
#### **--force-compression**
|
||||
|
||||
Use the specified compression algorithm even if the destination contains a differently-compressed variant already.
|
||||
Usually use for this flag arises when image is prior compressed and pushed using `--compression-format` with a different
|
||||
compression algorithm and user now needs to overwrite those blobs with a new compression algorithm on the remote registry.
|
||||
@@option force-compression
|
||||
|
||||
#### **--format**, **-f**=*format*
|
||||
|
||||
|
@ -70,11 +70,7 @@ Layer(s) to encrypt: 0-indexed layer indices with support for negative indexing
|
||||
|
||||
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.
|
||||
|
||||
#### **--force-compression**
|
||||
|
||||
Use the specified compression algorithm even if the destination contains a differently-compressed variant already.
|
||||
Usually use for this flag arises when image is prior compressed and pushed using `--compression-format` with a different
|
||||
compression algorithm and user now needs to overwrite those blobs with a new compression algorithm on the remote registry.
|
||||
@@option force-compression
|
||||
|
||||
#### **--format**, **-f**=*format*
|
||||
|
||||
|
Reference in New Issue
Block a user