DOCKER(1) | DOCKER(1) |
docker-image-rm - Remove one or more images
docker image rm [OPTIONS] IMAGE [IMAGE...]
Removes one or more images from the host node. 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.
Here is an example of removing an image:
docker image rm fedora/httpd
-f, --force[=false]
Force removal of the image
-h, --help[=false]
help for rm
--no-prune[=false]
Do not delete untagged parents
Feb 2021 | Docker Community |