Docker service start failed
I had a similar issue. This was how I fixed it permanently:
- Delete everything in
/var/lib/docker
. This will delete existing container and images:
rm -rf /var/lib/docker
- Then configure your daemon to use the "overlay" storage driver. Set the following flags in
/etc/docker/daemon.json
. If the file doesn't exist, just create it, and add the contents below:
{ "graph": "/mnt/docker-data", "storage-driver": "overlay"}
Now start Docker normally again and all should work fine and always.
You only need to reboot the server and check if your daemon.json file is correct.
By removing /etc/docker you will loose all Images and data.
you can check logs with
journalctl -u docker.services
Reboot server
sudo reboot
systemctl daemon-reload &&systemctl enable docker &&systemctl start docker
This worked for me.