Why disabling SELinux when running containers is a bad idea

Updated -

SELinux is one of the technologies that separate containers from the host system. It isolates processes, which can help protect or mitigate various attacks.

When SELinux is disabled or in Permissive mode, it cannot isolate containers from the system. Therefore, your system might be more vulnerable to container escapes.

In addition, SELinux in Enforcing mode can also prevent futur...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content