Replies: 1 comment 1 reply
-
Depends on your definition of dangerous. If you look at it from protecting the user account or the other containers run within the user account, then the more privileges you add to a container, lowers the container separation from the user account and from the user. Remember though most of the valuable stuff on a host is in the users home directory. So protecting .ssh directories or the cache from the webrowser which might include internet passwords is a pretty valuable thing to attack. So limiting container access from the rootless user is very important. |
Beta Was this translation helpful? Give feedback.
-
Hi all, does adding dangerous capabilities like SYS_ADMIN or running with privileged flag for a rootless container add any more privileges in the host user namespace?
In other words, is whether adding capabilities or running with privileged in a rootless container, or not, exactly the same from a security perspective in the outside world of the rootless container?
Beta Was this translation helpful? Give feedback.
All reactions