mirror of
https://github.com/containers/podman.git
synced 2026-03-13 08:01:19 +08:00
Add podman volume create --ignore
This ignores the create request if the named volume already exists. It is very useful when scripting stuff. Signed-off-by: Alexander Larsson <alexl@redhat.com>
This commit is contained in:
@@ -29,6 +29,10 @@ Such plugins must be defined in the **volume_plugins** section of the **[contain
|
||||
|
||||
Print usage statement
|
||||
|
||||
#### **--ignore**
|
||||
|
||||
Don't fail if the named volume already exists, instead just print the name. Note that the new options are not applied to the existing volume.
|
||||
|
||||
#### **--label**, **-l**=*label*
|
||||
|
||||
Set metadata for a volume (e.g., --label mykey=value).
|
||||
|
||||
Reference in New Issue
Block a user