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

CDR venefax at gmail.com
Wed Apr 30 13:05:38 UTC 2014


Dear Daniel
I am not nesting libvirt-containers. I create a top libvirt container
and inside a use pure LXC, the "nested" container is LXC. I do this
only to get virbr0 so my inner-most container gets access to
nat-networking.
Is this impossible?

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