How to remove multiple docker images with the same imageID?
Here is one way :
Repository and tag data can be provided to "docker rmi" command to remove image if images id are same.
command
docker rmi [repository_name1]:[tag1] [repository_name2]:[tag2]
example
docker rmi test-nginx:latest ubuntu:latest
Note : one needs to name and tag the image appropriately to use the above command effectively for requirement mentioned in the question.
Refer Docker docs for "docker rmi" command help : here
Here is a way you could do this. Run the command:
docker images | grep 810001cb03af | awk '{print $1 ":" $2}' | xargs docker rmi
where 810001cb03af
is your image id.