3 ms·
> Is it easier to just run containers as root and not worry about the permissions inside of the container? If so, wouldn't it really make more sense for the con
by zeroxfe 6y ago
> Is it easier to just run containers as root and not worry about the permissions inside of the container? If so, wouldn't it really make more sense for the container runtime to have some sort of mechanisms in place to allow people to do what's easy within the containers while also making sure that it has no harmful impact outside of them?
This is correct in principle, but very hard in practice. This is because kernel support for containers were kind of "tacked on" and more-or-less scattered across the code-base. And although they're getting a lot better, there's still no easy way to reason about their security. So a lot of the advice around permissions management and access control are a kind of defence-in-depth.
I'd love it if we get to a point where containers can make strong statements around security.