Docker Community Forums

Share and learn in the Docker community.

Is there a way to read the host's SELinux status from Docker containers?

I wanna bring the container, only if selinux is enabled in host and I want this check to be placed in entrypoint.sh.
so looking a way to read selinux status from container