Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Docker is intimately tied to Linux. It it only "cross platform" in that it can use a VM (Mac, WSL2) or flaky compat layers (FreeBSD). If software embraces Docker, it effectively excludes other OSes, like Windows, BSDs, Haiku, Fuschia, etc.


Even though it doesn’t run cross platform natively, it does run cross platform acceptably. I have no issue developing, building, and shipping images on my Mac that are deployed to production.


in that case, why is it that docker is considered superior when you could virtualize the windows api and run native windows apps in linux instead?


And even then trying to run Docker on Fedora will prompt you to turn off Security-Enhanced Linux features or use Podman instead. So it’s really like, what, 1/2 or 2/3 or Linux support


What? Why would it prompt this? Docker supports SELinux.


I don't know the specific issue, but RH's been trying to push Podman fairly hard...


Fedora is using cgroups v2 by default since last year. This version of cgroups was not supported by docker until a couple of weeks ago. So as a Fedora user you could either use podman or modify your installation to use cgroups v1 instead.


Thank you, I may have misspoke but this is what I was referring to.


> Docker is intimately tied to Linux.

Linux and windows:

https://hub.docker.com/_/microsoft-windows


Have you used a windows only container? I've not seen one in the wild, but I might be terribly biased.


Yep, I've also seen several corporates deploying Windows containers to production. As more "traditional" windows focused companies move to containerization/cloud, there's an increasing use of Windows containers, either as part of a Lift & Shift effort to migrate workloads, or because their developers are more comfortable with Windows and so they target that platform.


No, not yet. But we might go that way in the future for windows software on azure, much along the lines of:

https://docs.microsoft.com/en-us/dotnet/architecture/moderni...


I tried to make one with VS build tools a couple years ago. It’s probably not too bad to do by now, but MS licensing is a massive drawback IMO. I’d rather focus on tech than reading license agreements that could be changed on a whim.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: