Re: [libvirt-users] starting lxcs from within a vm using libvirt

Eric Blake
Tue, 15 Jul 2014 16:47:06 -0000

On 07/15/2014 08:29 AM, Robb Walker wrote:
> Just another ping, and please let me know if this is not the proper format
to re-ask my submitted question, but anyone else having any joy on running lxcs
via libvirt launched from within a vm?

This is the right forum, even if no one has answered so far.  Running
lxc guests inside an L1 kvm guest should be possible (I haven't tried it
myself, but doesn't seem like there should be any major obstacles).


>
> root@vullbvrt69:~# virt-install --connect lxc:/// -n vulslxc01 -r 512
--filesystem /qemu_lxc/ss_140521/,/ --serial pty --serial pty
>
> Starting install...
> Creating domain...
|    0 B     00:00
> error: failed to get domain '22542'
> error: Domain not found: No domain with matching name '22542'

Not sure where that error is coming from, since you named your domain
vulslxc01 rather than 22542.  I'm not much of an Ubuntu user myself, so
I don't know how well lxc guests fare on that build; you may get faster
response if you open a Launchpad ticket?

>
> This e-mail and any attachments may contain information that is
confidential and proprietary

This disclaimer is unenforceable on publicly archived lists; you may be
better off sending from a personal account rather than from an
employer's account that slams on bogus legalese.

--
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org