[Lxc-users] Regarding lxc tools and libvirt (virsh).
daniel.lezcano at free.fr
Fri Feb 5 08:54:55 UTC 2010
Kumar L Srikanth-B22348 wrote:
> I am new to Linux Containers and Libvirt.
> Recently, I installed Linux Container tools on my Fedora Core 12 (64
> bit) machine and able to create/start/destroy my own containers using
> the following commands:
> And I also installed libvirtd on my machine, and able to
> create/start/destroy my own domains using the following commands:
> virsh -c lxc:/// define /path/to/domain/xml/configuration/file
> virsh -c lxc:/// start [Domain Name]
> virsh -c lxc:/// shutdown [Domain Name]
> virsh -c lxc:/// undefine [Domain Name]
> I just wonder is there any relation between the domains created with
> 'virsh' and containers created with 'lxc-tools' [like lxc-create,
> lxc-start ..etc]?
> Can I start a container created using 'lxc-create' command with virsh
> [virsh -c lxc:/// start [Container Name] ...something like that]?
> Please let me know.
No, these are 2 separate projects. But a driver could be implemented to
plug the lxc tools with the libvirt.
More information about the lxc-users