Replies: 1 comment 3 replies
-
|
You can use kubernetes to run a container without root as long as the container has CAP_SETUID and CAP_SETGID |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've spent hours trying to search for any information on this.
I would like to build in Kubernetes, and would like to run with least-privileges.
I understand that it's possible using uid=1000 and privileged.
But is it possible to further restrict filesystem access using SELinux? I've seen several guides that suggest to exclude SELinux
container-selinux. But I'm assuming that the default policies are too restrictive.If SELinux is supported, what would be the minimal policies?
For example, I would like to prevent all read access to non-essential libraries, e.g. deny /etc, /opt, /var, and so on.
Beta Was this translation helpful? Give feedback.
All reactions