diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-08-27 15:25:54 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-09-09 12:06:10 -0400 |
commit | 046178e55f72ed9db7cf5898d3be91b0112ab94f (patch) | |
tree | ad844579a48f043d1959233ca881307801f79a45 /docs | |
parent | 16a70490852fdaf3ea5aeea6b2be19dd70fbf1c7 (diff) | |
download | podman-046178e55f72ed9db7cf5898d3be91b0112ab94f.tar.gz podman-046178e55f72ed9db7cf5898d3be91b0112ab94f.tar.bz2 podman-046178e55f72ed9db7cf5898d3be91b0112ab94f.zip |
Add function for looking up volumes by partial name
This isn't included in Docker, but seems handy enough.
Use the new API for 'volume rm' and 'volume inspect'.
Fixes #3891
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/podman-volume-inspect.1.md | 1 | ||||
-rw-r--r-- | docs/podman-volume-rm.1.md | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/docs/podman-volume-inspect.1.md b/docs/podman-volume-inspect.1.md index a6c99f6c8..ac5b6c977 100644 --- a/docs/podman-volume-inspect.1.md +++ b/docs/podman-volume-inspect.1.md @@ -11,6 +11,7 @@ podman\-volume\-inspect - Get detailed information on one or more volumes Display detailed information on one or more volumes. The output can be formatted using the **--format** flag and a Go template. To get detailed information about all the existing volumes, use the **--all** flag. +Volumes can be queried individually by providing their full name or a unique partial name. ## OPTIONS diff --git a/docs/podman-volume-rm.1.md b/docs/podman-volume-rm.1.md index fe047e7da..9a2fe8c99 100644 --- a/docs/podman-volume-rm.1.md +++ b/docs/podman-volume-rm.1.md @@ -4,14 +4,14 @@ podman\-volume\-rm - Remove one or more volumes ## SYNOPSIS -**podman volume rm** [*options*] +**podman volume rm** [*options*] *volume* [...] ## DESCRIPTION -Removes one ore more volumes. Only volumes that are not being used will be removed. +Removes one or more volumes. Only volumes that are not being used will be removed. If a volume is being used by a container, an error will be returned unless the **--force** -flag is being used. To remove all the volumes, use the **--all** flag. - +flag is being used. To remove all volumes, use the **--all** flag. +Volumes can be removed individually by providing their full name or a unique partial name. ## OPTIONS |