<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="font-family: 'lucida Grande', Verdana; ">hi all,</div><div style="font-family: 'lucida Grande', Verdana; "><br></div><div style="font-family: 'lucida Grande', Verdana; ">    After searching for a while, I found there are many different introductions to install lxc container, but do not find a step by step tutorial that works for general purpose.</div><div style="font-family: 'lucida Grande', Verdana; "><br></div><div style="font-family: 'lucida Grande', Verdana; ">    I have a host running fedora 16, and I want to install a lxc container that I can run some apps in it. The reason i need such a container is that 1) I will limit the resource usage of these apps, and 2) the apps' running environment is different  </div><div style="font-family: 'lucida Grande', Verdana; "> with the host's.</div><div style="font-family: 'lucida Grande', Verdana; "><br></div><div style="font-family: 'lucida Grande', Verdana; ">    I tried the following steps: 1) install libcgroup, 2) install lxc, both the two are downloaded from sf.net.</div><div style="font-family: 'lucida Grande', Verdana; "><br></div><div style="font-family: 'lucida Grande', Verdana; ">    By run the lxc-fedora under the lxc's templates directory(/usr/local/lib/lxc/templates), it seems that the container is installed successfully. It says:</div><div style="font-family: 'lucida Grande', Verdana; ">    "container is configured for lxc.network.type=veth and lxc.network.link=virbr0 (which is default if you have libvirt runnig)   "</div><div style="font-family: 'lucida Grande', Verdana; ">   </div><div style="font-family: 'lucida Grande', Verdana; ">    then i checked the libvirt by : service --status-all</div><div style="font-family: 'lucida Grande', Verdana; "><br></div><div style="font-family: 'lucida Grande', Verdana; ">    libvirtd.service - LSB: daemon for libvirt virtualization API</div><div style="font-family: 'lucida Grande', Verdana; ">          Loaded: loaded (/etc/rc.d/init.d/libvirtd)</div><div style="font-family: 'lucida Grande', Verdana; ">          Active: active (running) since Thu, 20 Sep 2012 10:18:20 +0800; 23min ago</div><div style="font-family: 'lucida Grande', Verdana; ">    but when i try to start my container by lxc-start -n test1 -f test1/conf£¬it logout my host. After i login again, all is the same as before start container. So i am confused about how i can start my container or is there something i have skipped in the install process?</div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>