Found out today that all my docker images, containers are all gone. Only thing I remember doing was to install the local registry and start it. But /var/lib/docker has all the docker image files, container files etc. The changes that were done to docker were:
- Registry configuration
- In docker swarm : stack deploy of applications, services deployment.
Is there way to recover from this loss ? Why was there no warning during the docker configuration of docker registry ?
Seems like docker is extremely unstable for long term persistent applications to be running continuously. Suddenly one day it could all disappear without warning. For next couple of months, I would focus of docker save / restore to make sure that I have a copy of it everywhere.