<div dir="ltr">On Thu, Aug 14, 2014 at 12:13 PM, Nobin Mathew <<a href="mailto:nobin.mathew@ericsson.com">nobin.mathew@ericsson.com</a>> wrote:<br>> Hi All,<br>><br>> Can you shed some info(or links) on bringing up a container, where I want to<br>
> use some root filesystem,(which is basically tarball i.e. tar.gz).<br>><br>> I don't want to use the apt/rpms.<br><br>Have you looked at the download template?<br><br>lxc-create -t download -n YOUR_CONTAINER_NAME<br>
<br>You'll get a list of distros/versions to choose:<br><br><div><font face="courier new, monospace">---</font></div><div><font face="courier new, monospace">DIST<span class="" style="white-space:pre"> </span>RELEASE<span class="" style="white-space:pre"> </span>ARCH<span class="" style="white-space:pre"> </span>VARIANT<span class="" style="white-space:pre"> </span>BUILD</font></div>
<div><font face="courier new, monospace">---</font></div><div><font face="courier new, monospace">centos<span class="" style="white-space:pre"> </span>6<span class="" style="white-space:pre"> </span>amd64<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_02:16</font></div>
<div><font face="courier new, monospace">centos<span class="" style="white-space:pre"> </span>6<span class="" style="white-space:pre"> </span>i386<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_02:16</font></div>
<div><font face="courier new, monospace">debian<span class="" style="white-space:pre"> </span>jessie<span class="" style="white-space:pre"> </span>amd64<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140813_22:42</font></div>
<div><font face="courier new, monospace">debian<span class="" style="white-space:pre"> </span>jessie<span class="" style="white-space:pre"> </span>armel<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140813_22:42</font></div>
<div><font face="courier new, monospace">debian<span class="" style="white-space:pre"> </span>jessie<span class="" style="white-space:pre"> </span>armhf<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140813_22:42</font></div>
<div><font face="courier new, monospace">debian<span class="" style="white-space:pre"> </span>jessie<span class="" style="white-space:pre"> </span>i386<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140813_22:42</font></div>
<div><font face="courier new, monospace">debian<span class="" style="white-space:pre"> </span>sid<span class="" style="white-space:pre"> </span>amd64<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140813_22:42</font></div>
<div><font face="courier new, monospace">debian<span class="" style="white-space:pre"> </span>sid<span class="" style="white-space:pre"> </span>armel<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140813_22:42</font></div>
<div><font face="courier new, monospace">debian<span class="" style="white-space:pre"> </span>sid<span class="" style="white-space:pre"> </span>armhf<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140813_22:42</font></div>
<div><font face="courier new, monospace">debian<span class="" style="white-space:pre"> </span>sid<span class="" style="white-space:pre"> </span>i386<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140813_22:42</font></div>
<div><font face="courier new, monospace">debian<span class="" style="white-space:pre"> </span>wheezy<span class="" style="white-space:pre"> </span>amd64<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140813_22:42</font></div>
<div><font face="courier new, monospace">debian<span class="" style="white-space:pre"> </span>wheezy<span class="" style="white-space:pre"> </span>armel<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140813_22:42</font></div>
<div><font face="courier new, monospace">debian<span class="" style="white-space:pre"> </span>wheezy<span class="" style="white-space:pre"> </span>armhf<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140813_22:42</font></div>
<div><font face="courier new, monospace">debian<span class="" style="white-space:pre"> </span>wheezy<span class="" style="white-space:pre"> </span>i386<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140813_22:42</font></div>
<div><font face="courier new, monospace">oracle<span class="" style="white-space:pre"> </span>6.5<span class="" style="white-space:pre"> </span>amd64<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140813_11:40</font></div>
<div><font face="courier new, monospace">oracle<span class="" style="white-space:pre"> </span>6.5<span class="" style="white-space:pre"> </span>i386<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140813_11:40</font></div>
<div><font face="courier new, monospace">plamo<span class="" style="white-space:pre"> </span>5.x<span class="" style="white-space:pre"> </span>amd64<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140730_15:47</font></div>
<div><font face="courier new, monospace">plamo<span class="" style="white-space:pre"> </span>5.x<span class="" style="white-space:pre"> </span>i386<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140730_15:47</font></div>
<div><font face="courier new, monospace">ubuntu<span class="" style="white-space:pre"> </span>lucid<span class="" style="white-space:pre"> </span>amd64<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_03:49</font></div>
<div><font face="courier new, monospace">ubuntu<span class="" style="white-space:pre"> </span>lucid<span class="" style="white-space:pre"> </span>i386<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_03:49</font></div>
<div><font face="courier new, monospace">ubuntu<span class="" style="white-space:pre"> </span>precise<span class="" style="white-space:pre"> </span>amd64<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_03:49</font></div>
<div><font face="courier new, monospace">ubuntu<span class="" style="white-space:pre"> </span>precise<span class="" style="white-space:pre"> </span>armel<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_03:49</font></div>
<div><font face="courier new, monospace">ubuntu<span class="" style="white-space:pre"> </span>precise<span class="" style="white-space:pre"> </span>armhf<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140813_03:49</font></div>
<div><font face="courier new, monospace">ubuntu<span class="" style="white-space:pre"> </span>precise<span class="" style="white-space:pre"> </span>i386<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_03:49</font></div>
<div><font face="courier new, monospace">ubuntu<span class="" style="white-space:pre"> </span>trusty<span class="" style="white-space:pre"> </span>amd64<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_03:49</font></div>
<div><font face="courier new, monospace">ubuntu<span class="" style="white-space:pre"> </span>trusty<span class="" style="white-space:pre"> </span>arm64<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_03:49</font></div>
<div><font face="courier new, monospace">ubuntu<span class="" style="white-space:pre"> </span>trusty<span class="" style="white-space:pre"> </span>armhf<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_03:49</font></div>
<div><font face="courier new, monospace">ubuntu<span class="" style="white-space:pre"> </span>trusty<span class="" style="white-space:pre"> </span>i386<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_03:49</font></div>
<div><font face="courier new, monospace">ubuntu<span class="" style="white-space:pre"> </span>trusty<span class="" style="white-space:pre"> </span>ppc64el<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_03:49</font></div>
<div><font face="courier new, monospace">ubuntu<span class="" style="white-space:pre"> </span>utopic<span class="" style="white-space:pre"> </span>amd64<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_03:49</font></div>
<div><font face="courier new, monospace">ubuntu<span class="" style="white-space:pre"> </span>utopic<span class="" style="white-space:pre"> </span>arm64<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_03:49</font></div>
<div><font face="courier new, monospace">ubuntu<span class="" style="white-space:pre"> </span>utopic<span class="" style="white-space:pre"> </span>armhf<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_03:49</font></div>
<div><font face="courier new, monospace">ubuntu<span class="" style="white-space:pre"> </span>utopic<span class="" style="white-space:pre"> </span>i386<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_03:49</font></div>
<div><font face="courier new, monospace">ubuntu<span class="" style="white-space:pre"> </span>utopic<span class="" style="white-space:pre"> </span>ppc64el<span class="" style="white-space:pre"> </span>default<span class="" style="white-space:pre"> </span>20140814_03:49</font></div>
<div><br></div><br>It will then download the necessary image and do the needed configuration, without using rpm/apt/whatever-package-management-in-that-OS.<div><br></div><div><br></div><div>If you have your OWN root image (e.g. dump from a server), then it's a different story. Look at each template to see what modifications are needed. For ubuntu, see configure_ubuntu() on /usr/share/lxc/templates/lxc-ubuntu.<br>
<br>-- <br>Fajar</div></div>