Sally Wong:
Hi,
I have question about securityContext.
Sometimes I see privileged set to true, and runAsUser set to 0.
Aren’t they they same thing? Why would people set both values?
Sally Wong:
Hi,
I have question about securityContext.
Sometimes I see privileged set to true, and runAsUser set to 0.
Aren’t they they same thing? Why would people set both values?
Aravind Raj Mahadevan:
They’re not the same. runAsUser
runs processes as root user in the docker container. But privileged
maps the root user of the docker container to the root user of the host system. This has much more power than the root user in the container.
Sally Wong:
ah, thank you so much for this information!