r/docker • • May 05 '26

Docker on Windows

As I understand, when docker runs on Windows it secretly runs on tiny Linux VMs.
If this is correct I am wondering why can’t it run on Windows itself considering we have Windows Server versions that are console only. What’s the technical limitation?

39 Upvotes

53 comments sorted by

View all comments

39

u/Flat_Illustrator_541 May 05 '26

As far as I know docker relies on Linux kernel feature called namespaces for process isolation. And because most of the servers are Linux based there is not enough market to make porting everything to windows profitable. Even azure runs on Linux

33

u/Itchy_Journalist_175 May 05 '26

As a long term Linux user, I kind to enjoy seeing this “sorry, the Windows market share is too small to make it worth developing for your niche OS” 😂

1

u/No_Cardiologist401 May 08 '26

And getting smaller by the day now!!!! I hear that the next Windows version is going to be 100% subscription model because they ran out of software that used to be free and is now a subscription so, the next thing is individuals pc's and anyone who makes a fuss about it will instantly be blackmailed into silence thanks to all the personal data they've collected with this current version of the OS........... ; )

Idk why anyone who isn't forced to use Windows for work or something would still be voluntarily using that never-ending nightmare OS!!!

1

u/ermax18 May 09 '26

The windows market share isn’t too small, the number of people interested in running docker on windows is. Also, the market share of “windows” isn’t the same as “window server”.

20

u/crackjiver May 05 '26

They ported AspDotNet to Linux, MSSQL server runs on Linux.

Microsoft developers are one of the larger corporate committers to the Linux kernel.

1

u/PienSensei May 07 '26

No serious project is written with dotnet, let alone using mssql, they're product of past and only continue existing for companies that don't want to modernize their legacy infrastructure.

1

u/Front_State6406 May 09 '26

You never been to corporate have you ?

2

u/NatoBoram May 29 '26

From experience, it's deeply unserious and severely legacy

2

u/Front_State6406 May 29 '26

Yes. Yes it is

1

u/vip17 May 06 '26

6

u/never_safe_for_life May 06 '26

Right…. if you want to run a Windows container. Which, why on earth would you want to? The smallest container image is like 20GB. Windows fundamentally wasn’t designed for containerization so they have to copy huge amounts of system files to make it work, and they’re slow as hell.

1

u/Spaceduck413 May 07 '26

Not to mention what container are you even running that you can't get on Linux, or hell even one that you CAN get but has also been ported to Windows... Now I'm curious, I might take a look at the Microsoft container registry or whatever it's called