diff options
author | flouthoc <flouthoc.git@gmail.com> | 2021-08-23 16:13:48 +0530 |
---|---|---|
committer | flouthoc <flouthoc.git@gmail.com> | 2021-08-26 14:14:14 +0530 |
commit | d5507704e9de0a4c0835f66668985eaf67ab3a72 (patch) | |
tree | d0483c85300ccee5b600107580441cf26f48d350 /docs/source/markdown/podman-volume-import.1.md | |
parent | 23f9565547ae2a6b0154e6913abf7f1232f0ece0 (diff) | |
download | podman-d5507704e9de0a4c0835f66668985eaf67ab3a72.tar.gz podman-d5507704e9de0a4c0835f66668985eaf67ab3a72.tar.bz2 podman-d5507704e9de0a4c0835f66668985eaf67ab3a72.zip |
volumes: Add volume import to allow importing contents on tar into volume
Following feature makes sure that users can load contents of external
tarball into the podman volumes.
Signed-off-by: flouthoc <flouthoc.git@gmail.com>
Diffstat (limited to 'docs/source/markdown/podman-volume-import.1.md')
-rw-r--r-- | docs/source/markdown/podman-volume-import.1.md | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-volume-import.1.md b/docs/source/markdown/podman-volume-import.1.md new file mode 100644 index 000000000..6bb868774 --- /dev/null +++ b/docs/source/markdown/podman-volume-import.1.md @@ -0,0 +1,35 @@ +% podman-volume-import(1) + +## NAME +podman\-volume\-import - Import tarball contents into a 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. +**podman volume import** can consume piped input when using `-` as source path. + +Note: Following command is not supported by podman-remote. + +**podman volume import VOLUME [SOURCE]** + +#### **--help** + +Print usage statement + +## EXAMPLES + +``` +$ gunzip -c hellow.tar.gz | podman volume import myvol - +``` +``` +$ podman volume import myvol test.tar +``` +``` +$ podman volume export myvol | podman volume import oldmyvol - +``` + +## SEE ALSO +podman-volume(1), podman-volume-export(1) |