tljh-repo2docker icon indicating copy to clipboard operation
tljh-repo2docker copied to clipboard

Docker images disappearing randomly from the system

Open nikl11 opened this issue 3 years ago • 1 comments

Hi, I have quite a strange issue. Any images built within my tljh-repo2docker jupyterhub start randomly disappearing from the Environments menu (and also from docker images listing of the host system), sometime right after it is successfuly built, sometimes a few minutes later, sometimes an image sticks around for hours but usually it is gone within minutes. I really have no idea what could be causing this, I can built and run the images fine, but something what behaves exactly like some sort of a docker garbage collector just deletes my docker images from the system, but I have enough space on my hard drive (maybe 20GB left on the 128GB partition), so there is no reason docker should randomly dump images. However images built manually with docker image build... stick around fine... Thanks for any ideas...

nikl11 avatar Aug 06 '21 14:08 nikl11

Thanks @nikl11 for the report.

This sounds odd. For example I recently picked up a local environment after a few months and was able to see the previously built images.

Maybe there is a script running on your machine that would trigger a docker image prune -a or similar?

jtpio avatar Dec 02 '21 10:12 jtpio