diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-22 09:53:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 09:53:46 -0400 |
commit | 8f19efb51951c9f88e8def089c9d2e6446d4af01 (patch) | |
tree | 5227f6c65e7469f6f129f7d38d7ba4eb1d47e16c /cmd/podman | |
parent | 7910bfd7c1f93a9bac73ae855a1eb6b63aa642a2 (diff) | |
parent | 49c5688a30ac29b258196d0be73cc7f09a9705cb (diff) | |
download | podman-8f19efb51951c9f88e8def089c9d2e6446d4af01.tar.gz podman-8f19efb51951c9f88e8def089c9d2e6446d4af01.tar.bz2 podman-8f19efb51951c9f88e8def089c9d2e6446d4af01.zip |
Merge pull request #11678 from vrothberg/fix-11613
podman save: add `--uncompressed`
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/images/save.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/images/save.go b/cmd/podman/images/save.go index 19dadb2ad..4f45cb912 100644 --- a/cmd/podman/images/save.go +++ b/cmd/podman/images/save.go @@ -84,6 +84,8 @@ func saveFlags(cmd *cobra.Command) { flags.BoolVar(&saveOpts.Compress, "compress", false, "Compress tarball image layers when saving to a directory using the 'dir' transport. (default is same compression type as source)") + flags.BoolVar(&saveOpts.OciAcceptUncompressedLayers, "uncompressed", false, "Accept uncompressed layers when copying OCI images") + formatFlagName := "format" flags.StringVar(&saveOpts.Format, formatFlagName, define.V2s2Archive, "Save image to oci-archive, oci-dir (directory with oci manifest type), docker-archive, docker-dir (directory with v2s2 manifest type)") _ = cmd.RegisterFlagCompletionFunc(formatFlagName, common.AutocompleteImageSaveFormat) |