Is non root user and Seccomp necessary on docker desktop?

229 views Asked by At

I was reading through playwright docs and when using docker they recommend to create a separate user inside the Docker container and use the seccomp profile. And a few questions came up to mind: is this necessary (security improvement) if I am using docker desktop (since docker desktop already runs inside a VMP). How should I go to enable seccomp on the VM running docker? And finally, if I understood right this would only enable the seccomp, but the actual restrictions imposed by the seccomp would be applied on a container basis and according to the profile I pass to that container, i.e. the restrictions would be applied to that container alone. Is that correct?

0

There are 0 answers