[lxc-devel] [PATCH 0/2] busybox template: enable to use with unpriv containers

Bogdan Purcareata bogdan.purcareata at freescale.com
Mon Oct 20 19:56:52 UTC 2014


Since Busybox containers are built using components on the host system, there's
no real need to rely on lxc-download to initialize a specific pre-built rootfs.
There is no maintained Busybox rootfs anyway, and the present template requires
minor tweaks to work with user namespaces as well.

Complete the previously started support for user namespaces and eliminate the
initial "fail if in userns" check. Also add an entry in the container config to
do the corresponding bind-mounts for the tty devices.

Bogdan Purcareata (2):
  busybox template: support for unprivileged containers
  busybox template: mount fstab when available

 templates/lxc-busybox.in | 40 ++++++++++++++++++++++++++++++----------
 1 file changed, 30 insertions(+), 10 deletions(-)

-- 
1.9.rc1



More information about the lxc-devel mailing list