podman-volume
Manage Podman volumes
TLDR
SYNOPSIS
podman volume subcommand
DESCRIPTION
podman volume manages named volumes for Podman containers. A volume is storage that outlives the container that uses it. Containers attach a volume with podman run -v or --mount. This command creates, lists, copies, and deletes those volumes. It is a subcommand of podman, not a separate program.export and import move the files inside a volume as a tar archive. Import writes into a volume that create (or a previous container) already made. prune deletes only volumes that no container still references.
PARAMETERS
create name
Create a volume. With no name, Podman generates one.ls
List volumes. list is an alias of ls.inspect volume...
Print detailed information about one or more volumes.export volume
Write the volume contents as a tar archive. -o sets the output file.import volume file
Copy a tar archive into a volume that already exists.rm volume...
Remove one or more volumes.prune
Remove volumes that no container is using.exists volume
Exit successfully when the volume exists.mount volume
Mount a volume and print the mount point.unmount volume
Unmount a volume.rename old new
Rename a volume.reload
Reload volumes from volume plugins.
INSTALL
CAVEATS
rm and prune refuse a volume that a container still uses. Export and import do not create the volume for you. A volume plugin must be available before reload can see the volumes it provides.
SEE ALSO
podman(1), podman-run(1)
