how delete docker images using a shell script code example
Example: how to delete image docker
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_ID [IMAGE_ID...]
#[OPTIONS]
--force , -f Force removal of the image
--no-prune Do not delete untagged parents