]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-ls: Implement support for nested containers
authorStéphane Graber <stgraber@ubuntu.com>
Thu, 28 Feb 2013 23:04:46 +0000 (18:04 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 1 Mar 2013 14:40:24 +0000 (09:40 -0500)
commit0e21ea4b15b1f1a066da54aed04f4fcac45d5741
treeb70709520a6410d87be80cd5b6e0067c45e52e3d
parent36368228d286cd5c1492ae7aab92b4d78dbfb616
lxc-ls: Implement support for nested containers

Add initial support for showing and querying nested containers.

This is done through a new --nesting argument to lxc-ls and uses
lxc-attach to go look for sub-containers.

Known limitations include the dependency on setns support for the PID
and NETWORK namespaces and the assumption that LXCPATH for the sub-containers
matches that of the host.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
doc/lxc-ls.sgml.in
src/lxc/lxc-ls
src/python-lxc/lxc/__init__.py.in