3 ms·
Docker has had it's fair share of breakouts because the default configuration doesn't use user namespaces (one of the most significant security isolation featur
by cyphar 7y ago
Docker has had it's fair share of breakouts because the default configuration doesn't use user namespaces (one of the most significant security isolation features in Linux) and runs as root. It's not indicative of how secure a properly set up container is -- I don't remember the last time there was an LXC or LXD breakout (which use user namespaces by default).
Source: I've found a fair few Docker breakouts. I also maintain runc, which is the lower-level container runtime component (where most of the breakouts are found).
- feanaro 7y agoDon't user namespaces have significant security issues themselves?
- cyphar 7y agoThere have been security bugs involving allowing unprivileged user namespaces, but that doesn't matter at all in this case -- seccomp is used by effectively all container runtimes to block things like CLONE_NEWUSER inside containers.