mirror of https://github.com/docker/cli.git
Merge pull request #1444 from filipjares/master
Improve `docker image rm` documentation
This commit is contained in:
commit
01a591477c
|
@ -1,6 +1,11 @@
|
||||||
Removes one or more images from the host node. This does not remove images from
|
Removes (and un-tags) one or more images from the host node. If an image has
|
||||||
a registry. You cannot remove an image of a running container unless you use the
|
multiple tags, using this command with the tag as a parameter only removes the
|
||||||
**-f** option. To see all images on a host use the **docker image ls** command.
|
tag. If the tag is the only one for the image, both the image and the tag are
|
||||||
|
removed.
|
||||||
|
|
||||||
|
This does not remove images from a registry. You cannot remove an image of a
|
||||||
|
running container unless you use the **-f** option. To see all images on a host
|
||||||
|
use the **docker image ls** command.
|
||||||
|
|
||||||
# EXAMPLES
|
# EXAMPLES
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue