by a1exanderjung · 8y ago · 0 comments
It'll interesting to see where they'll go with this, specifically since Google also work on Kubernetes and that new OS, Fuchsia.
https://twitter.com/rothgar/status/981579699833880576
More info on Crostini https://www.reddit.com/r/chromeos/comments/7ytpb1/project_cr... …
cgroups are supported on every distribution's kernel I've ever touched in the past 5 years. Not to mention that they were originally developed (in part) by Google, though they had a different purpose back then. They're also a requirement for systemd to work properly, so any distribution that needs to run systemd will have them enabled in their kernels.
> At the very least, container tools such as Docker require symlinks too to invoke chroot-like filesystem isolation and this is also not available.
Docker (or rather runc) uses pivot_root and mount namespaces to implement filesystem isolation -- not symlinks (though I'm not sure what you mean here to be frank). These features have been in Linux for more than 10 years.
I took the point to be "cgroups is weird, nonstandard and by implication dangerous" when the truth is more "cgroups is standard equipment, sorta boring, and the obvious way to implement a container like this".
But now with ChromeOS 67 no longer need to use developer to do.
Not sure what you mean by symlinks either - the right primitives for secure filesystem isolation (pivot_root, etc.) are also very common. pivot_root is the normal way to switch from an initramfs to the real root filesystem, so it's also extremely prevalent.
Any modern containerization tool depends on them for resource isolation.
Or are you talking about the ChromeOS kernel in particular?