Systemd lightweight containers
Systemd lightweight containers
Posted Feb 7, 2013 9:58 UTC (Thu) by mezcalero (subscriber, #45103)In reply to: Systemd lightweight containers by bgmarete
Parent article: Systemd lightweight containers
It's not as bad as it sounds, as in most cases the root inside the container won't see much of the host's resources and hence can't do much bad on it. It also lacks many capabilities, so that it is anyway much less powerful than a real root. And then, the per-user settings the kernel maintains for root generally don't have much effect anyway, such as RLIMIT_NPROC.
I also doubt that UID namespaces are really a magic bullet. Their support in file systems is really awkward (if you processes has multiple UIDs, but your file system only maintains one per file, how could that ever work?), so I kinda get the impression they create more problems than they solve.
I am not convinced that I'll ever update nspawn to make use of UID namespaces.
