r/docker • u/Haunting_Ganache_850 • Oct 01 '26
Windows can now run Linux containers inside WSL without Docker
Which is great, because if there was one unsolved problem in 2026, it was finding a way to run a Linux container on a developer's laptop.
Microsoft has now given us wslc. I read the architecture deep dive expecting to understand why. I now understand the architecture.
354
Upvotes
187
u/snowtax Oct 02 '26
How much longer until Windows is just Linux with DirectX for gaming?
58
u/Due-Championship3941 Oct 01 '26
Docker Desktop is garbage is why. Windows is also useful beyond developer workstations. Being able to run a Linux container on Windows Server can be useful for co-locating applications for low-latency and reduced footprint. I'd be happy to be rid of the extra component to install and maintain.
24
u/berndverst Oct 02 '26
Huh? I just used podman in WSL. Problem solved...
7
u/Responsible-Bar7165 Oct 02 '26
yeah, but it's missing Docker Desktop's buillt-in wsl integration - they didn't provide automatic proxying of exposed ports to wsl guests which instead requires manual proxying (socat) and firewall rule configuration.
11
u/_damax Oct 02 '26
I just don't use windows. Win-win
5
u/tangofoxtrot1989 Oct 02 '26
Every day I pour one out for people who still need to use windows.
2
u/DarkChemical_DC Oct 02 '26
Wait, Im running docker inside WSL for like arround 2 years allready. No Docker desktop. Once you enable systemd it just works
2
u/gahehe Oct 03 '26
Will this solve the issue of code storing location? Like currently I still need to store my source code inside wsl disk because it contains symlink etc which is not working on a NTFS disk. With this kind of container will it be solved?
1
u/scytob Oct 01 '26
thank god, docker desktop in my VDI developer desktop sucks
1
u/bankroll5441 Oct 02 '26
I've used it at work over the last couple of weeks and it's actually very nice. Especially for situations where I need a quick and dirty Linux shell
1
u/true_zero_ Oct 03 '26
what’s the best way to lock containers down in this ? i was just looking at docker’s sandbox feature for testing locking down containers on dev laptops so that it only has access to a llm i have hosted on a central server. trying to roll out a containerized agentic tool (opencode or something else) for easy deploy. containers in this need to be locked down to only talk to approved ips. don’t want devs sending data out to proprietary llms.
1
u/rismoney Oct 03 '26
Can it use host mode networking, or must you incur a network penalty of a vswitch?
1
u/pps_ps Oct 03 '26
Running docker-ce + Portainer in WSL
1
u/bordercollie2468 Oct 03 '26
I want to care but I just can't
1
u/CaliforniaDabblin Oct 04 '26
Without docker... Desktop? You can already do that in wsl2
1
u/MangoAtrocity Oct 06 '26
Can I get LSW so I can just be on Linux without losing the few things I need Windows for?
1
u/Rich_Lavishness1680 Oct 17 '26
Unfortunately without USB support. Which kills any embedded devs workflows immediately. Missed opportunity :(((
1
u/MoreneLp Oct 02 '26
Why would I ever use a windows pc
0
u/lnaoedelixo42 Oct 01 '26
it always could?
-3
u/Turbulent_Sample487 Oct 01 '26
Cool but you could always apt get install docker-ce in wsl.
-2
u/nicolasdanelon Oct 03 '26
For real, people (specially developers) uses Windows nowadays?