3 ms·
Like Talos Linux? Don't you need the full Linux kernel to run arbitrary Linux containers?
by pphysch 2y ago
Like Talos Linux? Don't you need the full Linux kernel to run arbitrary Linux containers?
- zrail 2y agoSounds more like Xen if Xen could boot containers instead of VMs.
- hinkley 2y agoBrian Cantrill talked about how they got Docker running on Joyent. They had to make shims for many system calls and a little more fiddly code for a handful more. No idea how much skill that takes, but it’s been done once.
- 0xbadcafebee 2y agoIt's the same thing as making WINE: you implement the ABI in userspace. It's a pain in the butt and it suffers from compatibility and performance issues. Programs run with WINE often run into problems not found on their native Windows environment. It's better to have a standard that each operating system implements so that apps don't need a weird portability layer in-between. Sadly, Linux doesn't give a shit about other systems, so any effort to standardize containers will happen outside Linux, and Linux probably won't pick up its changes because they already have Linux containers. So a WINE like thing would be the most workable option. The current state of affairs is actually a much better solution. Just make all containers OS-specific, and ship the OS kernel and dependencies along with a shim, and run them with QEMU. Apps run way more reliably this way with no porting required. The devs do less work, the users do less work, there's less bugs, and you can run any app in any OS.