Is there any way to enable SELinux on LXC-based container using 4.2?


If by "enabled" you mean to have a full fledged SELinux policy within the container, the answer is no.

Of course the host where the containers are deployed can have SELinux enforced, and the processes within the container can be confined as well. This confinement operates from the host server point of view.

There is support for sVirt MCS/MLS confinement for libvirt managed LXC containers (as well as docker based containers).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.