I don’t know where to ask for help so I guess I may do it here.
Recently in the night, there was a power outage at my house and so my Debian 10 server powered off.
When I powered it on, Docker was not working anymore. I had the following error message :
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the Docker daemon running?
I tried a lot of things and I uninstalled/re-installed Docker multiple times, but nothing works.
So I made a backup of my /var/lib/docker, then I deleted the original folder and Docker is now perfectly working.
So it seems that my /var/lib/docker makes docker crash. When I replace the new working /var/lib/docker folder with my backup, I get the error message again.
Please, I have a lot of important containers, volumes and networks that I am daily using and I just can’t lose them.
Is there any solution to get Docker working again with my backup?
Edit : I have read some people talking about a kernel upgrade but I don’t remember having upgraded my kernel but it seems to cause the same issue than mine. But since I didn’t upgrade kernel, I don’t think that’s the problem.