Hacker News new | ask | show | jobs
by gunian 455 days ago
man see virtualization man happy man see it no crossplatform man sad
1 comments

I mean. It's built on KVM and integrates deeply with how processes work; I'm not sure it's possible to make it portable without a lot of engineering time, performance hit, or both.
no i get it its amazing engineering same thing with firecracker wish there was something like that lighter than docker for all 3 major platforms
Well even docker only runs on Linux with some magic to make it look local. Probably the closest similar thing would be WASM stuff.
Someone joined my discord recently and showed me this one: https://github.com/ashishbijlani/kwarantine

It runs on bare metal, though. I just thought it was very interesting to see. Must have been a lot of work.

A four-year-old repo with no code? Not sure what you mean by "showed me".
Looks interesting, but "coming soon" with last commit 3 months ago... I'm sure they are working on it. But soon is probably not correct.
> Kwarantine is a thin hypervisor that directly runs containers/workers on the hardware (no VMs).

> hypervisor

> no VMs

Um?

I really should ask him what's up with that.
There actually is a true native Windows docker, as grotesque of a concept as that is:

https://hub.docker.com/r/microsoft/windows

My understanding is that it... Doesn't work all that well.

That's a Docker container image for Windows, not "native Windows Docker". Docker on Windows uses WSL2 which is a Linux VM.
What 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.

it'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.
Oh okay yes I definitely agree that it would be great to have that:)