podman-save
Verified for current stable LTS
Podman Save Command: Save Image With Compression
Use for save image with compression with Podman Save. Exact CLI syntax to save image with compression using Podman Save.
When to use this: Use for save image with compression with Podman Save.
Command Syntax
podman save {image:tag} | gzip > <path/to/file.tar[.gz|.bz2|.xz|.zst|.zst]> podman save `{image:tag`} | gzip > <path/to/file.tar[.gz|.bz2|.xz|.zst|.zst]> Command Breakdown
podman is the base executable for this command.
FAQ
Purpose: Exact syntax to save image with compression using Podman Save.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Podman Save Command: Save Image To Stdout
podman save {image:tag} > <path/to/file.tar> Podman Save Command: Save Image To Tar File podman save -o <path/to/file.tar> {image:tag} Podman Save Command: Transfer Image Remote With Compression podman save {image:tag} | zstd -T 0 --ultra | pv | ssh <username>@<remote_host> podman load Alternative Approaches
Alternative tools for similar operation intents.
Tar Command: Create A Compressed Archive And Write It To A File Using The File Extension To Automatically Determine The Compression Program
tar caf <path/to/target.tar.xz> <path/to/file1 path/to/file2 ...> Bunzip2 Command: Decompress Bzip2 File bunzip2 <file> Bun Pm Pack Command: Set Gzip Compression Level bun pm pack --gzip-level 5 Tar Command: Extract A Compressed Archive File Into The Current Directory Verbosely tar xvf <path/to/source.tar[.gz|.bz2|.xz]> Tar Command: Extract A Compressed Archive File Into The Target Directory tar xf <path/to/source.tar[.gz|.bz2|.xz]> -C <path/to/directory>