<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16981" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=086151506-05022010><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial size=2>I am new to Linux
Containers and Libvirt.</FONT></SPAN></DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial size=2>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:</FONT></SPAN></DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial
size=2>lxc-create</FONT></SPAN></DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial
size=2>lxc-sshd</FONT></SPAN></DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial
size=2>lxc-start</FONT></SPAN></DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial
size=2>lxc-destroy</FONT></SPAN></DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial size=2>And I also installed
libvirtd on my machine, and able to create/start/destroy my own domains using
the following commands:</FONT></SPAN></DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial size=2>virsh -c lxc:///
define /path/to/domain/xml/configuration/file</FONT></SPAN></DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial size=2>
<DIV><SPAN class=086151506-05022010><FONT face=Arial size=2>virsh -c
lxc:/// start <EM>[Domain Name]</EM></FONT></SPAN></DIV>
<DIV><SPAN class=086151506-05022010></SPAN><SPAN class=086151506-05022010><SPAN
class=086151506-05022010><FONT face=Arial size=2>virsh -c
lxc:///<EM> </EM>shutdown<EM> [Domain Name]</EM></FONT></SPAN></DIV>
<DIV>
<DIV><SPAN class=086151506-05022010>
<DIV><SPAN class=086151506-05022010><FONT face=Arial size=2>virsh -c
lxc:/// undefine<EM> [Domain
Name]</EM></FONT></SPAN></DIV></SPAN></DIV></SPAN></DIV></FONT></SPAN></DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial size=2>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]?</FONT></SPAN></DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial size=2>Can I start a
container created using <EM>'lxc-create'</EM> command with virsh [<SPAN
class=086151506-05022010><FONT face=Arial size=2>virsh -c lxc:/// start
<EM>[Container Name] </EM>...something like
that</FONT></SPAN>]?</FONT></SPAN></DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial size=2>Please let me
know.</FONT></SPAN></DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial
size=2>Srikanth.</FONT></SPAN></DIV>
<DIV><SPAN class=086151506-05022010><FONT face=Arial
size=2></FONT></SPAN> </DIV></BODY></HTML>