Should Containers Run as Root in Kubernetes?
Almost never. Most applications don’t need root privileges, and a container running as root gives an attacker far more to work with if the container is compromised.
Almost never. Most applications don’t need root privileges, and a container running as root gives an attacker far more to work with if the container is compromised. Set runAsNonRoot: true and a specific non-root runAsUser in each workload’s security context,…
The post Should Containers Run as Root in Kubernetes? appeared first on Security Boulevard.
