Security LXC - Best Practices


Is there an guide to best practices to security a container? I use version 4.0
What is the difference between privileged container and not privileged?

How I change a privileged container to not privileged?


There are some notes in the documentation:

Otherwise this was asked before, so you can search the forum for answers in the past.

By default containers are started unpriviledged.
Details here:

Set the configuration key security.privileged to false and restart the container.

1 Like