Not to kill the thread here :) But isn't Docker supersede LXC. Android Lolipop tried to substitute docker with sticker :)<br><br>On Wednesday, April 22, 2015, Michael H. Warfield <<a href="mailto:mhw@wittsend.com">mhw@wittsend.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is really a question that should be raised on the lxc-users mailing<br>
list.<br>
<br>
On Mon, 2015-04-20 at 08:52 -0400, Narahari 'n' Savitha wrote:<br>
> Good Monday morning friends:<br>
<br>
> Here is the scenario. My office has SLES 11SP3. I installed<br>
> it and then I enabled LXC on it. The LXC stuff went thru<br>
> fine.<br>
<br>
Oooo... That's a little on the oldish side.<br>
<br>
What version of LXC did you install? What kernel version are you<br>
running?<br>
<br>
> When I tried to get a container upend running with a<br>
> predefined template the only Suse related is Open-Suse 13SP1.<br>
<br>
Where did you get this "predefined" template?<br>
<br>
We have some template scripts that generate containers. I've done some<br>
work on the lxc-opensuse template script and I have contacts at Suse.<br>
It has a "-r release" option but it's strictly going to pull from the<br>
OpenSuse repos.<br>
<br>
We also have a "download" template which pulls predefined container<br>
images from "<a href="http://images.linuxcontainers.org" target="_blank">images.linuxcontainers.org</a>" and that has OpenSuse images<br>
but, currently, only for 12.3. So I'm really confused where this 13SP1<br>
came from...<br>
><br>
> I tried using that and it work since the libs are<br>
> incompatible.<br>
<br>
Ah, this I don't understand. The libs in the container are separate and<br>
independent from the libs in the host. I've even got a OpenSuse<br>
container running on my Fedora 21 host. In fact, that's how I<br>
bootstrapped the whole image process to get OpenSuse images into the<br>
download template repository for Stephan's download template.<br>
<br>
> In this context I would like to build a LXC template from the<br>
> SLES 11SP3 ISO directly or from the installed OS(using the<br>
> SLES 11SP3).<br>
<br>
If you have LXC installed on 11SP3 as you say... What do you get when<br>
you run this command:<br>
<br>
lxc-create -n suse1 -t opensuse<br>
<br>
If everything is working on the host, it should install a container<br>
named "suse1" that is a version of opensuse.<br>
<br>
> All examples I see are for cents or ubuntu or debian.<br>
<br>
We have templates for alpine, alt, arch, busybox, cirros, opengentoo,<br>
mandrivia, oracle, debian, ubuntu, centos, fedora and more. Not all<br>
templates work on all hosts (I think I have the Fedora and CentOS<br>
templates working pretty well on most hosts) but the container images<br>
downloaded using the download template should work on all supported host<br>
platforms.<br>
><br>
> Any inputs on SLES LXC template building is appreciated ?<br>
<br>
This really needs to be addressed on the lxc-users mailing list.<br>
><br>
> -N<br>
<br>
Regards,<br>
Mike<br>
--<br>
Michael H. Warfield (AI4NB) | (770) 978-7061 | mhw@WittsEnd.com<br>
/\/\|=mhw=|\/\/ | (678) 463-0932 | <a href="http://www.wittsend.com/mhw/" target="_blank">http://www.wittsend.com/mhw/</a><br>
NIC whois: MHW9 | An optimist believes we live in the best of all<br>
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!<br>
<br>
</blockquote><br><br>-- <br>Sent from Gmail Mobile<br>