So I am trying to build a container from an image. However I have been interrupting the process several times whenever there is an error. I have noticed that docker might have created a new image. So whenever I want to start from scratch I try to remove the newly created image and this is where I see a strange behavior. I run a docker rmi expecting only one image to be removed but that is not the case because the output shows several of them have been removed. Below is an example of what is happening on ubuntu machine.
root@trustytahr:~# docker rmi 00ac1e3
The question is why does this happen? Or rather what does this mean?