Replies: 1 comment
-
|
I think udica can create such profiles https://github.com/containers/udica |
Beta Was this translation helpful? Give feedback.
0 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 have a container which runs in the host network namespace, because it needs to open raw sockets on certain interfaces. I'd like to restrict which interfaces the container can bind to and it looks like selinux allows doing that.
What's the correct way to add additional selinux restrictions to a container? My current idea would be to create and install a custom sepolicy module on the host which introduces a new domain like my_container_t and then change the containers domain using
--security-opt=label=type:my_container_t. Is that correct? Is there anything to be careful about to not decrease security? Should my custom domain inherit from container_t?Beta Was this translation helpful? Give feedback.
All reactions