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
Share and learn in the Docker community.
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.