Docker Engine won't start without factory reset in ubuntu 24.10

I’m new to docker in general and start experimenting with docker desktop on my ubuntu 24.10 machine. I’m able to get it up and running, create containers and it works fine until it’s time for bed and I shut off the machine. I’ve noticed not matter how I stop docker desktop, something always ends up broken causing the Docker Engine to not start the next time I run docker desktop unless I do a factory reset. Being new, I assume I’ve done something wrong in the installation, but I’m not having any luck figuring it out. I didn’t see it listed as a known issue anywhere other than the suggestion to do a factory reset whenever it breaks. But since it breaks everytime, I must have done something wrong.

Any suggestions where to look or what to check… or has anyone else noticed this issue?

Yes, I also appeared and discovered this
https://forums.docker.com/t/docker-desktop-v4-38-0-doesnt-start-on-ubuntu-24-10-unless-i-delete-the-docker-directory/146635?u=lixianyua

Yup. That’s my issue. Deleting that ./docker/desktop folder is the only solution I’ve found as well.

I am facing the same issue with KUBUNTU 24. Did you find any solution?

Not exactly. I actually stopped using docker desktop because of this bug and just switched to docker without deskop. Before I did, my work around was to clear out the virtual machine every time. This ended up causing problems as I got more complicated in what I was trying to run in docker though and the easiest solution was to stop using docker desktop and make all the changes for things to work without it. For docker desktop I created a script that when I wanted to run docker, it would actually stop it, remove the .docker directory, then restart it. Here’s a snippet of what I was doing. I also had it restarting containers and doing a few other things, but this is the basic part that made it work.

#!/bin/bash

systemctl --user stop docker-desktop
rm -rf ~/.docker/desktop
sudo nvidia-ctk runtime configure --runtime=docker
systemctl --user start docker-desktop