podman-volume-rename - Man Page
Rename a volume
Synopsis
podman volume rename volume new_name
Description
Renames an existing volume. The following restrictions apply:
- The volume must not be in use by any containers (running or stopped).
- The volume must not be currently mounted (via podman volume mount).
- Only volumes using the local driver can be renamed; volumes backed by a volume plugin or the image driver cannot be renamed.
Renaming an anonymous volume converts it to a named volume.
Options
None.
Examples
Rename volume mydata to data_backup:
$ podman volume rename mydata data_backup
See Also
History
June 2026, Originally compiled by Podman Developers
Referenced By
The man page docker-volume-rename(1) is an alias of podman-volume-rename(1).