Unable to delete docker images

I recently upgraded from fedora 29 to Fedora 32. On Fedora I had pulled docker image of fedora 29. Right now I have two image on my fedora 32.

I want to delete these images but I cant, I even executed docket system prune -a but its still there. I also removed docker package and reinstalled it but still I see these two images. Anyone can please help me into this matter. Thanks.

@milangujarat could you solve your problem? What was the solution?

Just for users who look for the same topic:


To delete all containers including its volumes use,

docker rm -vf $(docker ps -a -q)

To delete all the images,

docker rmi -f $(docker images -a -q)

Remember, you should remove all the containers before removing all the images from which those containers were created.