[lxc-devel] [PATCH 0/4] Automatic cgroup mounting support

Christian Seiler christian at iwakd.de
Wed Sep 11 23:44:40 UTC 2013


Hi,

I've implemented support to automatically mount the cgroup hierarchy
into the container as discussed on the mailing list. On that occasion,
I also added automatic mounting support for /sys and /proc. All is
controlled by the new lxc.mount.auto option that accepts a list of
parameters, e.g. 'lxc.mount.auto = proc sys cgroup'. This should
simplify container configuration quite a bit for standard things.

TODO: Possibly add more filesystems such as /run (+ /run/lock,
/run/shm), debugfs, securityfs, etc. such that it is possible to run a
modern distribution in LXC without CAP_SYS_ADMIN, i.e. mounting
/ support, out of the box.

TODO2: Update manpage.

-- Christian





More information about the lxc-devel mailing list