podman-volume-import(1)

πŸ“¦
version 6.1.4 Β· 5 versions
, in arch rolling, fedora 43, fedora 44, ubuntu resolute

πŸ’– podman-volume-import(1) πŸ’–

okay bestie, welcome to the General Commands Manual section for podman-volume-import β€” yes that's the whole name, yes it's a mouthful, no we're not shortening it. it's giving plumbing but make it cute. 🫢


✨ NAME ✨

podman-volume-import β€” Import tarball contents into an existing podman volume


🌸 SYNOPSIS 🌸

podman volume import volume [source]

πŸ¦‹ DESCRIPTION πŸ¦‹

so like. podman volume import takes the contents of a tarball and imports them right into your podman volume's mount point. that's the whole vibe. πŸ’…

here's the tea tho β€” the contents of the volume get merged with the content of the tarball, and the tarball wins. so if there's a collision, tarball takes precedence. no cap. πŸ”₯

and omg, podman volume import can also consume piped input β€” you just use - as the source path. yes queen, pipe it straight in. πŸŽ€

⚠️ the volume you're naming must already exist. podman volume import does NOT create it for you. like, it's not gonna manifest a volume out of thin air, bestie. it's not that kind of main character. 😭

πŸ’œ --help

Print usage statement. that's it, that's the whole thing. iconic behavior honestly. ✨


πŸ“ 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 -

look at that third one. volume to volume, pipe to pipe. the way that it just flows. obsessed. 🌈


⭐ SEE ALSO ⭐


and that's the page, bestie!! 🧚✨ this little love letter lives in the General Commands Manual under the name podman-volume-import(1) β€” go forth and import responsibly, mwah πŸ’–πŸ‘‘


πŸ“¦ where this page comes from