13 ms·
I believe that "root is root" is just shorthand for... If you aren't using unprivileged containers, then the only approach you have for making the container mo
by tyingq 11y ago
I believe that "root is root" is just shorthand for...
If you aren't using unprivileged containers, then the only approach you have for making the container more secure than chroot is a whack-a-mole style approach.
By whack-a-mole, I mean trying to map out the attack surface, and using a hodge podge of tools to try and close them (kernel cap-drops, apparmor, se-linux, firewall rules, overlay mounts for /proc, /sys, etc).
I think it's reasonable to say that the whack-a-mole approach isn't truly more secure. In the same way that having a vault door on the front of your house, next to an open window isn't any more secure than having the door wide open.