3 ms·
> Any non-Linux system that runs a Linux container will need to run a Linux kernel for that container. Well, actually... WSL 1, Illumos/SmartOS/OmniOS's LX-br
by meatmanek 5y ago
> Any non-Linux system that runs a Linux container will need to run a Linux kernel for that container.
Well, actually...
WSL 1, Illumos/SmartOS/OmniOS's LX-branded zones [1], and FreeBSD's Linux Jails [2] all work without a Linux kernel by translating syscalls.
This is somewhat analogous to how Wine can run Windows programs without a Windows kernel.
Last time I was paying attention to it, Joyent's Triton product provided a Docker API-compatible interface to run Docker containers on their SmartOS-based servers. Looks like that may still be around.[3]
1. https://wiki.smartos.org/lx-branded-zones/
2. https://wiki.freebsd.org/Linuxulator
3. https://www.joyent.com/triton/compute
- adolph 5y agoThank you for the "well actually." I generally feel discomfort at blanket statements and often hedge things a bit. This often makes sentences longer and harder to read. This "well actually" did a great job of outlining the corner cases where syscall translation "works," and there aren't many. I'm glad I wasn't totally deluded.