Skip to main content

Docker missing Image

If you have lost and image in docker this might help you recover it!

first run

docker image ls -a

your image is not displayed don't panic!

If you can't see the image but when you try and pull the image docker says - your image is up to date! This means you have a corrupt file! The easiest way to recover the image is to pull the image to another machine.

docker image save -o /tmp/saveOfMyImage image/name

When you load this on to your original machine with

docker load -i /tmp/saveOfMyImage

Docker will complain that files already exist, simply rename the file and repeat untill your image is loaded then run

docker image ls -a

Your image should have reappeared plus and incremented number version and maybe some hidden images too