I tried to remove images and they all returned with this error message: “Error response from daemon: Error while getting parent image: image ID ‘27cf784147099545’ is invalid”.
I can see that the ID is not of the correct length, so it must be invalid. But how can I remove the image anyway? I cannot find the ID in the images, not as ID, nor as parent_id. How do I know which image/container references this Id?
I restarted the docker daemon, but no success.
However, I can find this ID in /var/lib/docker:
/var/lib/docker/aufs/mnt/27cf784147099545
/var/lib/docker/aufs/diff/27cf784147099545
/var/lib/docker/graph/27cf784147099545