3 ms·
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 Docke
by ridiculous_fish 6y ago
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.
- ed25519FUUU 6y agoEven 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.
- chii 6y agoin 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?
- zachrose 6y agoAnd 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
- cpuguy83 6y agoWhat? Why would it prompt this? Docker supports SELinux.
- remexre 6y agoI don't know the specific issue, but RH's been trying to push Podman fairly hard...
- dajonker 6y agoFedora 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.
- zachrose 6y agoThank you, I may have misspoke but this is what I was referring to.
- e12e 6y ago> Docker is intimately tied to Linux. Linux and windows: https://hub.docker.com/_/microsoft-windows https://hub.docker.com/_/microsoft-windows
- eptcyka 6y agoHave you used a windows only container? I've not seen one in the wild, but I might be terribly biased.
- e12e 6y agoNo, 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/modernize-with-azure-containers/modernize-existing-apps-to-cloud-optimized/deploy-existing-net-apps-as-windows-containers https://docs.microsoft.com/en-us/dotnet/architecture/moderni...
- raesene9 6y agoYep, 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.
- donmcronald 6y agoI 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.