News for hackers. Stuff that matters.
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop by bongobingo1 on Thursday November 10, 2022 @04:45AM (#33544275)
It sounds like podman containers should automatically get that label so I'll give it another look, thanks!
Re:Podman Desktop: A Free OSS Alternative to Docker Desktop by yrro on Thursday November 10, 2022 @04:53AM (#33544343)
Yeah, use ps -Z PID (from outside of a container) to check its label.

Some other useful sources of info - the container_selinux man page tells you about container_t. And an index of Dan Walsh's blog posts about containers & SELinux can be found in the README of <https://github.com/containers/container-selinux>.

And of course the RHEL documentation for creatign custom SELinux policies that inherit from container_t (for instance, I use it to allow processes within a container to read their certificates out of /etc/pki/tls which is normally forbidden. It's documented here: https://access.redhat.com/documentation/en-us/red_hat_enterp...