4 ms·
There actually is a true native Windows docker, as grotesque of a concept as that is: https://hub.docker.com/r/microsoft/windows https://hub.docker.com/r/micro
by clhodapp 2y ago
There actually is a true native Windows docker, as grotesque of a concept as that is:
https://hub.docker.com/r/microsoft/windows https://hub.docker.com/r/microsoft/windows
My understanding is that it... Doesn't work all that well.
- genewitch 2y agoit's worked for "run this docker to use this code" sort of things on windows for me. That's all i use it for, it's an inconvenience. Docker, that is. Not docker on windows. Docker in general.
- HumanOstrich 2y agoThat's a Docker container image for Windows, not "native Windows Docker". Docker on Windows uses WSL2 which is a Linux VM.
- clhodapp 2y agoWhat you described is absolutely what happens when you run Linux containers on Windows hosts using Docker. What I linked is absolutely a Docker image that contains Windows, intended to run Windows containers on Windows hosts using Docker. Windows containers are Microsoft's attempt to clone Linux containers. They can run in one of two modes: A shared-kernel mode, which requires that the kernel of the container and the host OS be the same version (with some kind of Windows filesystem namespacing), or a separate-kernel mode, which essentially uses the Docker image distribution ecosystem as a way to distribute system images to run as VM's on Hyper-V. Windows containers are super-clunky and I believe they aren't supported on the latest versions of Windows. Honestly very few people should use them. But they do exist.