<div dir="ltr">Hello,<div><br></div><div>I am having difficulty getting any sort of LXC container running. I am trying to use the following tutorial to run the hello world example:</div><div><br></div><div><a href="https://www.berrange.com/posts/2011/09/27/getting-started-with-lxc-using-libvirt/">https://www.berrange.com/posts/2011/09/27/getting-started-with-lxc-using-libvirt/</a></div>
<div><br></div><div><br></div><div>Here are the results of my running the tutorial:</div><div><br></div><div><div>[root@terraria ~]# virsh list</div><div> Id Name State</div><div>----------------------------------------------------</div>
<div><br></div><div>[root@terraria ~]# virsh uri</div><div>lxc:///</div><div><br></div><div>[root@terraria ~]# cat helloworld.xml </div><div><domain type='lxc'></div><div> <name>helloworld</name></div>
<div> <memory>102400</memory></div><div> <os></div><div> <type>exe</type></div><div> <init>/bin/sh</init></div><div> </os></div><div> <devices></div><div> <console type='pty'/></div>
<div> </devices></div><div></domain></div><div>[root@terraria ~]# virsh define helloworld.xml </div><div>Domain helloworld defined from helloworld.xml</div><div><br></div><div>[root@terraria ~]# virsh start helloworld</div>
<div>error: Failed to start domain helloworld</div><div>error: internal error guest failed to start: PATH=/bin:/sbin TERM=linux container=lxc-libvirt container_uuid=791640de-95a9-082c-7292-c55106bcdca9 LIBVIRT_LXC_UUID=791640de-95a9-082c-7292-c55106bcdca9 LIBVIRT_LXC_NAME=helloworld /bin/sh</div>
<div>error receiving signal from container: Input/output error</div><div><br></div><div>---</div><div><br></div><div>As you can see, I am getting an error. How do I go about diagnosing this error? This is a fresh install so the only thing I have been using this machine for is for LXC/libvirt testing.</div>
<div><br></div>-- <br>Jacob Everist<br><br>cell: 310-425-9732<br>email: <a href="mailto:jacob.everist@gmail.com">jacob.everist@gmail.com</a>
</div></div>