[lxc-users] Looking for Opensuse template

Michael H. Warfield mhw at WittsEnd.com
Sun May 4 19:47:48 UTC 2014


On Sun, 2014-05-04 at 14:55 -0400, CDR wrote:
> I did the same for Debian, created a container in Debian transported
> it to the Fedora Host. Then I installed an Ubuntu server and
> transported Fedora 20 and Debian containers.

I would have expected the debian template to work as long as you had the
debboot package installed on Fedora (which is available).  The same goes
true for Fedora on Ubuntu through the febboot package, although I got
away from that in the Fedora template and the Fedora template is now
host distro agnostic.

> My client uses the paid version of Suse, called Suse Enterprise.Linux.
> Do you know if they support LXC containers? I am about to decide what
> host to use for LXC.
> The kernel is identical between Fedora 20 and Ubuntu Server. How is it
> with Suse Enterprise Linux?
> What is your take on this?

Oh, man, that one is complicated.  I was managing some SEL (Suse
Enterprise Linux) VM's under zOS (zLinux on Z Series mainframes).  I
know the latest several versions of OpenSuse support LXC but, earlier
versions certainly did not.  I'm not sure about SEL.

I was using OpenSuse to hone my own skills and test porting of packages
over to the zLinux VM's.  If they are on the latest major release of
SEL, then it probably has some support for LXC but it will probably be
an earlier version of LXC (0.7.x would be my guess at this point).  If
they're not on the latest release of SEL, it's probably a crap shoot and
I wouldn't bet on it.  If they're on a 3.x kernel, they should be good
to go for at least some significant level of support.

Basically, if they can install LXC from the repos (zypper or yum) and
have a recent enough kernel, it should support it.

> Philip

Regards,
Mike

> On Sun, May 4, 2014 at 2:09 PM, Michael H. Warfield <mhw at wittsend.com> wrote:
> > On Sun, 2014-05-04 at 11:21 -0400, CDR wrote:
> >> Does anybody have any idea how to install an LXC container for opensuse?
> >
> > Yes.
> >
> > On what host?  An OpenSuse host, Ubuntu host, or Fedora/CentOS host.
> >
> > If you are doing anything other than OpenSuse on OpenSuse, you're going
> > to have a problem bootstrapping your first container thanks to their
> > requirement of zypper in the template.  I bootstrapped mine setup for
> > OpenSuse by booting a machine with OpenSuse and installing LXC on it,
> > then creating an OpenSuse container which can then be transported over
> > to the target host (Fedora 20).  That first first container can then be
> > used to create new container images.
> >
> > Last time I exchanged E-Mail with the OpenSuse guys about building
> > OpenSuse containers on non-OpenSuse hosts, their response was on the
> > order of "why would anybody want to do that" and "I don't think that
> > will work" and "No I don't think you can build it without using zypper
> > even if it has rpm and yum".
> >
> > I was going to experiment with it using one of their run-live images as
> > a bootstrap core to run the container build from but never got around to
> > it.
> >
> >> Philip
> >
> > Regards,
> > Mike
> > --
> > Michael H. Warfield (AI4NB) | (770) 978-7061 |  mhw at WittsEnd.com
> >    /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
> >    NIC whois: MHW9          | An optimist believes we live in the best of all
> >  PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
> >
> >
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

-- 
Michael H. Warfield (AI4NB) | (770) 978-7061 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140504/b9178226/attachment.sig>


More information about the lxc-users mailing list