docker image rm [image id]
docker image rm
docker image rm [OPTIONS] IMAGE [IMAGE...]
#[OPTIONS]
--force , -f Force removal of the image
--no-prune Do not delete untagged parents
docker rm -vf $(docker ps -aq)
docker rmi <image_id>
docker rmi -f <image_id>
docker image rm [OPTIONS] IMAGE_ID [IMAGE_ID...]
#[OPTIONS]
--force , -f Force removal of the image
--no-prune Do not delete untagged parents
docker image rm [OPTIONS] IMAGE [IMAGE...]
# If image from a private repo
docker image rm [OPTIONS] myuser/myrepo:myimage
[OPTIONS]
--force
remove docker image