docker odstranit obrázek
docker image rm [OPTIONS] IMAGE [IMAGE...]
#[OPTIONS]
--force , -f Force removal of the image
--no-prune Do not delete untagged parents
odstranit všechny obrázky docker
docker system prune -a
odebrat konkrétní obrázek z docker
#remove specific image from docker
if we have mutiple images into docker
REPOSITORY TAG IMAGE ID CREATED SIZE
rabbitmq latest 8e428cff54c8 6 hours ago 72.9MB
rabbitmq 3 7e82a4d17ac1 2 weeks ago 512MB
cmd:docker rmi rabbitmq:latest
by using this command you can remove desire docker image