mirror of
https://github.com/containers/podman.git
synced 2025-05-20 08:36:23 +08:00

Libpod requires that all volumes are stored in the libpod db. Because volume plugins can be created outside of podman, it will not show all available plugins. This podman volume reload command allows users to sync the libpod db with their external volume plugins. All new volumes from the plugin are also created in the libpod db and when a volume from the db no longer exists it will be removed if possible. There are some problems: - naming conflicts, in this case we only use the first volume we found. This is not deterministic. - race conditions, we have no control over the volume plugins. It is possible that the volumes changed while we run this command. Fixes #14207 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2.2 KiB
2.2 KiB
% podman-volume(1)
NAME
podman-volume - Simple management tool for volumes
SYNOPSIS
podman volume subcommand
DESCRIPTION
podman volume is a set of subcommands that manage volumes.
SUBCOMMANDS
Command | Man Page | Description |
---|---|---|
create | podman-volume-create(1) | Create a new volume. |
exists | podman-volume-exists(1) | Check if the given volume exists. |
export | podman-volume-export(1) | Exports volume to external tar. |
import | podman-volume-import(1) | Import tarball contents into an existing podman volume. |
inspect | podman-volume-inspect(1) | Get detailed information on one or more volumes. |
ls | podman-volume-ls(1) | List all the available volumes. |
mount | podman-volume-mount(1) | Mount a volume filesystem. |
prune | podman-volume-prune(1) | Remove all unused volumes. |
reload | podman-volume-reload(1) | Reload all volumes from volumes plugins. |
rm | podman-volume-rm(1) | Remove one or more volumes. |
unmount | podman-volume-unmount(1) | Unmount a volume. |
SEE ALSO
HISTORY
November 2018, Originally compiled by Urvashi Mohnani umohnani@redhat.com