I\'m trying to remove an image and I get:
# docker rmi f50f9524513f
Failed to remove image (f50f9524513f): Error response from daemon: conflict: unable to
Based on slushy and Michael Hoffman answers, if you don't have a ton of images you can use this shell function:
docker_image_desc() {
for image in $(docker images --quiet --filter "since=${1}"); do
if [ $(docker history --quiet ${image} | grep ${1}) ]; then
docker_image_desc "${image}"
fi
done
echo "${1}"
}
and then call it using
docker_image_desc | awk '!x[$0]++'