docker rmi cannot remove images, with: no such id

前端 未结 9 1364
感情败类
感情败类 2021-01-30 12:52

I have a lot of images. When I try to remove them with docker rmi

$ sudo docker rmi acd33a9490dc
Error response from daemon: No such id: 75ce1f6710b         


        
9条回答
  •  感情败类
    2021-01-30 13:18

    So... some cases of this seem to be because you have a no-longer-running container that references the image. Removing the container allows you to then remove the image.

    But there is definitely a bug where docker gets itself into a state where no matter what you do, it can't remove any image. This has been fixed in docker 1.4.0: https://github.com/docker/docker/commit/ac40e7c

提交回复
热议问题