Re:The MongoDB hack and the importance of secure defaults
by tannhaeuser on Wednesday January 11, 2017 @01:55PM
(#13376443)
What Docker security measures do you mean? Actually, I was wondering recently what isolation Docker provides that a basic chroot-jail doesn't.
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.
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.
This issue, along with its related issues with permissions on persistent storage, is one of the major reasons I'm hoping to move away from Docker as soon as possible.