Containers

Give one example of rootless containers are more safe from security perspective

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

In rootless containers, user namespace appears to be running as root but it doesn't, it's executed with regular user privileges. If an attacker manages to get out of the user space to the host with the same privileges, there's not much he can do because it's not root privileges as opposed to containers that run with root privileges.