commands.sh

podman export

all

Export the filesystem of a container and save it as a tarball on the local machine. See also: `podman import`, `podman save`.

More info →

Options (1)

-o, --outputboolean

Export a container's filesystem to a tar file

Example: podman export {{[-o|--output]}} {{path/to/file.tar}} {{container_name_or_id}}

Examples (2)

Export a container's filesystem to a tar file

podman export [-o|--output] path/to/file.tar container_name_or_id

Export a container's filesystem to `stdout`

podman export container_name_or_id > path/to/file.tar
made by @shridhargupta | data from tldr-pages