by znpy · 5y ago · 0 comments
A new version of TrueNAS is in the works, it's called TrueNAS scale and it's going to be Linux-based (no more FreeBSD).
I'm frankly happy, because TrueNAS is great as a NAS operating system but I really wanted to run containers where my storage is and having to run a VM adds a really unnecessary overhead (plus, it's another machine to manage)
What do FreeBSD jails do that Linux can't? I know there's no single jail system call that you can call so you need to assemble the container "manually", but that's an implementation detail as far as I am concerned.
On the other hand, true network namespaces (VNET on FreeBSD) have been usable on Linux for longer than on FreeBSD.
It's a bit disingenuous to say that Linux is the one "approaching" feature parity when they're both missing features that the other has.
It's a smug comment that claims something but offers no example at all, not even an anecdotal one.
If FreeBSD jails were so much better than Linux namespaces/containers etc we would be all using FreeBSD by now. The license is even more permissive. Containers have been out for ~ten years now and yet... Here we are.
I don't know enough to say for sure, but my current impression is that Linux namespaces are actually more powerful than jails, but harder to use because the kernel doesn't provide a "simple" interface to create an isolated container, and userspace software implementing containers get to use the individual bits as they see fit.
The market doesn’t work like that.