Docker image cannot be deleted, request resolution.

  docker, question

The docker service was installed and the official centos7.2.1511 image was downloaded. Then I modified the commit to generate my image. Now I want to delete the centos7.2.1511 image that I just started downloading, but it cannot be deleted. The prompt is as follows:


Provide the following information:
Run docker ps:

Run docker ps -a:

It can be seen that no container depends on centos7.2.1511 image, but why can’t this image be deleted

Because there are other mirrors that depend on this mirror, you should usedocker imagesLook at the mirrors and confirm that the mirror is based on it. Delete the dependent mirror before deleting the mirror.