dotcloud/docker — pull request #4422 by alexlarsson (2014-03-03 15:18:53+00:00)
Title: Move all bind-mounts in the container inside the namespace

This moves the bind mounts like /.dockerinit, /etc/hostname, volumes,
etc into the container namespace, by setting them up using lxc.

This is useful to avoid littering the global namespace with a lot of
mounts that are internal to each container and are not generally
needed on the outside. In particular, it seems that having a lot of
mounts is problematic wrt scaling to a lot of containers on systems
where the root filesystem is mounted --rshared.

Docker-DCO-1.1-Signed-off-by: Alexander Larsson (github: alexlarsson)