mirror of
https://github.com/containers/podman.git
synced 2026-07-13 00:31:45 -04:00
Add a podman volume rename command, REST API endpoint, and bindings for renaming volumes. The rename updates both the VolumeConfig and VolumeState tables in a single transaction and moves the volume directory on disk, rolling back if the transaction fails. Renaming an anonymous volume converts it to a named volume. Volumes that are in use, mounted, or backed by a volume plugin or the image driver cannot be renamed. Fixes: #28189 Signed-off-by: MayorFaj <mayorfaj@gmail.com>
2.4 KiB
2.4 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) | Export 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 unused volumes. |
| reload | podman-volume-reload(1) | Reload all volumes from volumes plugins. |
| rename | podman-volume-rename(1) | Rename a volume. |
| 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