[lxc-users] Is it possible nested LXC-libvirt containers?

CDR venefax at gmail.com
Wed Apr 30 13:01:56 UTC 2014

I need to provide NAT networking to my LXC containers, much like using
virbr0 from libvirt, except that nesting a libvirt-lxc container does
not work. So if I nest a pure LXC container, which is supported, how
would you create a bridge that would nat-forward the packets to the
I am sure it is possible, but it escapes me.

On Wed, Apr 30, 2014 at 6:00 AM, Daniel P. Berrange <berrange at redhat.com> wrote:
> On Wed, Apr 30, 2014 at 12:10:41AM -0400, CDR wrote:
>> I need to solve a business issue that it can be solved easily if I create
>> an LXC Fedora container and inside I create another container.
>> Will that work or I am dreaming?
> FYI, the libvirt LXC driver is not the same as the sf.net LXC toolchain,
> so questions wrt libvirt are best directed to the libvirt-users mailing
> list
>    http://libvirt.org/contact.html#email
> To answer your question though, libvirt doesn't currently allow for
> nesting of containers, but it is a feature we intend to enable in
> not too distant future.
> Regards,
> Daniel
> --
> |: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
> |: http://libvirt.org              -o-             http://virt-manager.org :|
> |: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
> |: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

More information about the lxc-users mailing list