Re:The MongoDB hack and the importance of secure defaults
by kccqzy on Wednesday January 11, 2017 @02:36PM
(#13376795)
Docker drops capabilities of root by default. It doesn't drop everything but better than not dropping at all.
If you are not using docker, you can manually add the specific privilege to open low-numbered ports without running the program in question as root.
Re root permisions I guess if you're running a typical network daemon (Apache, say), then requiring Docker to run as root is no worse than running the service on the host; root would be a requisite anyway for the daemon to open privileged ports/gain logging permissions etc. before dropping to "nobody" or what have you.