Container: privileged mode

Container privileged mode , all your host privileges belong to me

Why does privileged mode exist?

Scan your code & stay secure with Snyk - for FREE!

Did you know you can use Snyk for free to verify that your code
doesn't include this or other vulnerabilities?

Scan your code

What are the best practices for privileged mode?


Keep learning

To learn more about kubernetes security, check out our blog posts:

Finally, you can download our Kubernetes settings cheatsheet here.


Woohoo! You've learned what the risks are of using the --privileged mode flag. We hope you will stop using it as lazy way to bypass all permissions problems and spend the time setting the correct permissions. Feel free to rate how valuable this lesson was for you and provide feedback to make it even better! Also, make sure to check out our lessons on other common vulnerabilities.