All of
 help / color / mirror / Atom feed
* Simple tool using user namespaces to build containers
@ 2013-07-12 11:03 Chris Webb
  0 siblings, 0 replies; only message in thread
From: Chris Webb @ 2013-07-12 11:03 UTC (permalink / raw)
  To: linux-kernel; +Cc: Eric W. Biederman

Prompted by the merge of support for user namespaces in recent kernels, I've
written a couple of simple standalone tools that use them together with
mount, PID and other namespaces to implement containers.

I've put these utilities up here in case they're of use to anyone else, and
also as demonstrations of how easy-to-use these new kernel interfaces are:

They support the same /etc/subuid and /etc/subgid files that Eric Biederman
proposed in his patch set against the shadow package, which will hopefully
become a fairly standard mechanism for delegating extra users and groups.

User namespaces arrived without much fanfare, but they're really useful new
functionality. I was pleasantly surprised how straightforward it was to
build both fully isolated containers, and also a replacement for fakeroot
which allows me to chroot to build packages.

Many thanks to Eric for working on this and also for patiently explaining
the rationale behind the design decision to remap user IDs on the kernel
list recently.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-07-12 11:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-12 11:03 Simple tool using user namespaces to build containers Chris Webb

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.