Why removing image shows multiple images instead of one

Docker images are made of one layer per Dockerfile instruction, so if you delete an image which has several layers that are not also used for some other image, those sub-layers are also deleted.

1 Like