2 ms·
The article told you how to find the entire list of privileges. Just type `man 7 capabilities` or go here: http://man7.org/linux/man-pages/man7/capabilities.7.h
by kccqzy 10y ago
The article told you how to find the entire list of privileges. Just type `man 7 capabilities` or go here: http://man7.org/linux/man-pages/man7/capabilities.7.html http://man7.org/linux/man-pages/man7/capabilities.7.html
The `--privileged` flag is equivalent to giving your container all capabilities: https://github.com/docker/docker/blob/97660c6ec55f45416cb2b2d4c116267864b62b65/daemon/exec_linux.go#L23 https://github.com/docker/docker/blob/97660c6ec55f45416cb2b2...
I don't get what you mean by saying how networking affects capabilities. Because it doesn't?
- lowbloodsugar 10y agoThe post chooses to emphasize the scary (ZOMG it allows port 22!) without the necessary information that the default networking mode is bridged, such that the container wont be opening port 22 on the host. So the article implies that this capability allows a security risk, but the default networking mitigates that risk.