I'm having trouble with Docker Desktop on a single computer in our office. We need it to run independently from the active Windows session, but my attempt with WSL2 didn't work out. Is there a reliable way to set up Docker so it runs in the background without needing an active user session?
4 Answers
Docker Desktop is designed for user sessions, so it's tricky to have it run without one. You might want to consider using a different setup instead of Docker Desktop, like Docker on a server or a lightweight VM.
You might want to clarify if you need Windows containers or Linux ones first; that could influence the best approach too.
Honestly, Docker Desktop isn’t meant for long-running tasks like in a server environment. You should look into setting up a dedicated Docker server, maybe with an Ubuntu VM on Hyper-V—that’s a more reliable solution for production needs.
Windows really limits running Docker as a service, so you might be better off getting a dedicated server for this.

Thanks for the suggestion! I’ve been thinking about going the VM route.