3 ms·
There's a significant security benefit because container will run with separate namespacing of all system resources, and make it easier to drop unneeded privile
by zozbot234 5y ago
There's a significant security benefit because container will run with separate namespacing of all system resources, and make it easier to drop unneeded privileges. So the attack surface of any security issue within your app will be correspondingly reduced.
- tkiolp4 5y agoThis is interesting. What if OP is running their golang application under a “golang” user and group? Wouldn’t that be enough to limit the surface area of attack? I’m assuming here that the “golang” user has limited permissions in the OS.