summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-11-08 21:49:15 +0100
committerGitHub <noreply@github.com>2019-11-08 21:49:15 +0100
commit651d6ebe5274a892ce64819bb007080895f98321 (patch)
tree466121eaa9cf0d70c51d7b70385210f9b29f6d17
parent4ed12f9916e105f8ebeb818b173383919b79cbf2 (diff)
parent5293446e0ff39187be4a3f07837e2a145e24c990 (diff)
downloadpodman-651d6ebe5274a892ce64819bb007080895f98321.tar.gz
podman-651d6ebe5274a892ce64819bb007080895f98321.tar.bz2
podman-651d6ebe5274a892ce64819bb007080895f98321.zip
Merge pull request #4427 from rst0git/docs-rm-v
docs: Update "podman container rm -v" description
-rw-r--r--cmd/podman/rm.go2
-rw-r--r--docs/source/markdown/podman-rm.1.md3
2 files changed, 3 insertions, 2 deletions
diff --git a/cmd/podman/rm.go b/cmd/podman/rm.go
index 89062f524..6329a9d8e 100644
--- a/cmd/podman/rm.go
+++ b/cmd/podman/rm.go
@@ -43,7 +43,7 @@ func init() {
flags.BoolVarP(&rmCommand.Force, "force", "f", false, "Force removal of a running or unusable container. The default is false")
flags.BoolVarP(&rmCommand.Latest, "latest", "l", false, "Act on the latest container podman is aware of")
flags.BoolVar(&rmCommand.Storage, "storage", false, "Remove container from storage library")
- flags.BoolVarP(&rmCommand.Volumes, "volumes", "v", false, "Remove the volumes associated with the container")
+ flags.BoolVarP(&rmCommand.Volumes, "volumes", "v", false, "Remove anonymous volumes associated with the container")
markFlagHiddenForRemoteClient("storage", flags)
markFlagHiddenForRemoteClient("latest", flags)
}
diff --git a/docs/source/markdown/podman-rm.1.md b/docs/source/markdown/podman-rm.1.md
index 207d9d61d..c1663129c 100644
--- a/docs/source/markdown/podman-rm.1.md
+++ b/docs/source/markdown/podman-rm.1.md
@@ -42,7 +42,8 @@ The storage option conflicts with the **--all**, **--latest**, and **--volumes**
**--volumes**, **-v**
-Remove the volumes associated with the container.
+Remove anonymous volumes associated with the container. This does not include named volumes
+created with `podman volume create`, or the `--volume` option of `podman run` and `podman create`.
## EXAMPLE
Remove a container by its name *mywebserver*