plasmabio / tljh-repo2docker

Plugin for The Littlest JupyterHub to build multiple user environments with repo2docker
BSD 3-Clause "New" or "Revised" License
60 stars 15 forks source link

Docker images disappearing randomly from the system #46

Open nikl11 opened 3 years ago

nikl11 commented 3 years ago

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...

jtpio commented 2 years ago

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?