Hacker News new | ask | show | jobs
by fpoling 23 days ago
User namespaces significantly rise the risk of exploits and many setups disable them. One may argue that Docker should have used them when they were available, but that would break too many useful setups involving privileged containers.
2 comments

Ah of course, we should not use userns because it might be vulnerable to some yet to be discovered vulnerability. The better alternative is to give full root access so we won't have surprises.
The full access to the docker socket from a user account is typically used on a development machine where malware has many other opportunities to become a root.
> User namespaces significantly rise the risk of exploits

How?

Here's one (CIFSwitch) from a couple of days ago: https://heyitsas.im/posts/cifswitch/