How to Run Docker Desktop Without an Active Windows Session?

0
16
Asked By CoolCat123 On

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

Answered By TechWizard456 On

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.

Answered By CloudGuru321 On

You might want to clarify if you need Windows containers or Linux ones first; that could influence the best approach too.

Answered By ServerSage789 On

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.

CoolCat123 -

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

Answered By CodeNinja101 On

Windows really limits running Docker as a service, so you might be better off getting a dedicated server for this.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.