[lxc-devel] namespaces and lxc

Andy Johnson johnsonzjo at gmail.com
Fri Apr 19 14:06:35 UTC 2013


Hello,

Question about namespaces and lxc:

I see that there is a tool named lxc-unshare, which is (according to
https://help.ubuntu.com/12.04/serverguide/lxc.html) for
testing and in fact calls the clone() syscall (via lxc_clone())
and not via the unshare() syscall.

While looking in the code for namespaces usage, I saw that in
lxc_attach_to_ns()
there is a call to setns(). But I am not sure as to whether this is used.

Usage of cgroups in lxc is known.

Regarding namesapces: does lxc support all six namesapaces ? are there
examples
 of *.conf file/links for using namespaces ? is there support for user
namespace ?

Best,
Andy Johnson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20130419/deb9dad0/attachment.html>


More information about the lxc-devel mailing list