Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

podman-volume-import - Man Page

Import tarball contents into an existing podman volume

Synopsis

podman volume import volume [source]

Description

podman volume import imports the contents of a tarball into the podman volume's mount point. The contents of the volume is merged with the content of the tarball with the latter taking precedence. podman volume import can consume piped input when using - as source path.

The given volume must already exist and is not created by podman volume import.

Note: Following command is not supported by podman-remote.

--help

Print usage statement

Examples

Import named volume content from the specified file.

$ podman volume import myvol test.tar

Import named volume content from stdin.

$ gunzip -c hello.tar.gz | podman volume import myvol -

Export the content from named volume and pipe it into the named volume via stdin.

$ podman volume export oldmyvol | podman volume import myvol -

See Also

podman(1), podman-volume(1), podman-volume-export(1)

Referenced By

podman-volume(1), podman-volume-export(1).

The man page docker-volume-import(1) is an alias of podman-volume-import(1).