dotcloud/docker — pull request #5445 by jpetazzo (2014-04-28 20:07:14+00:00)
Title: Mount /proc and /sys read-only, except in privileged containers.

It has been pointed out that some files in /proc and /sys can be used
to break out of containers. However, if those filesystems are mounted
read-only, most of the known exploits are mitigated, since they rely
on writing some file in those filesystems.

This does not replace security modules (like SELinux or AppArmor), it
is just another layer of security. Likewise, it doesn't mean that the
other mitigations (shadowing parts of /proc or /sys with bind mounts)
are useless. Those measure are still useful.

Docker-DCO-1.1-Signed-off-by: Jérôme Petazzoni (github: jpetazzo)