<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Philip, <br>
      <br>
      Just would like to let you know that the most recent Suse
      Enterprise Linux (a.k.a. SLES) v11 SP3 does indeed support LXC.
      Because i wanted to run SLES and Ubuntu containers on the same
      host i invested some spare time to get SLES containers running on
      a Ubuntu host. It cost me a couple of hours to create a working
      template for a SLES container on Ubuntu 12.04, and eventually i
      got it working and I'm now successfully running enterprise stuff
      (eDirectory/Identity Manager) in SLES containers on Ubuntu ....
      Totally unsupported of course, but good enough for my test
      environment and it was a fun exercise to get to know LXC a little
      bit better ...<br>
      <br>
      I think this hack will work for other distros as well, but it
      might be pretty tricky when the hosts kernel version differs (a
      lot) from the SLES kernel. (a.t.m the SLES11 sp3 kernel version is
      "3.0.101", Ubuntu 12.04 is 3.2.0 ). Until now i got no complaints
      from the SLES containers though. <br>
      <br>
      To get a SLES11 container running on Ubuntu 12.04 you need to take
      the following steps:<br>
      - install lxc and create a dummy container on a SLES host and copy
      the /var/cache/lxc/sles directory over to the same location on
      your (Ubuntu) host.<br>
      - copy the attached lxc template (lxc-sles) to
      /usr/lib/lxc/templates/ and edit it to your liking (insert ssh
      keys, bind mounts, and credentials for online updates)<br>
      - create a new sles container:<i> lxc-create -n slestest -t sles</i><br>
      - run the container, login and use Yast2 to setup the network. (or
      use dhcp)<br>
      <br>
      Regards,<br>
      Remco.<br>
      <br>
      On 04/05/14 20:55, CDR wrote:<br>
    </div>
    <blockquote
cite="mid:CAC9cSOBs2OH9_M2cq8p6HZt3Qx-2zaRS_2EM3fKXy+kF_mszzg@mail.gmail.com"
      type="cite">
      <pre wrap="">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.
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?
Philip

On Sun, May 4, 2014 at 2:09 PM, Michael H. Warfield <a class="moz-txt-link-rfc2396E" href="mailto:mhw@wittsend.com"><mhw@wittsend.com></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">On Sun, 2014-05-04 at 11:21 -0400, CDR wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Does anybody have any idea how to install an LXC container for opensuse?
</pre>
        </blockquote>
        <pre wrap="">
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.

</pre>
        <blockquote type="cite">
          <pre wrap="">Philip
</pre>
        </blockquote>
        <pre wrap="">
Regards,
Mike
--
Michael H. Warfield (AI4NB) | (770) 978-7061 |  <a class="moz-txt-link-abbreviated" href="mailto:mhw@WittsEnd.com">mhw@WittsEnd.com</a>
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  <a class="moz-txt-link-freetext" href="http://www.wittsend.com/mhw/">http://www.wittsend.com/mhw/</a>
   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
<a class="moz-txt-link-abbreviated" href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a>
</pre>
      </blockquote>
      <pre wrap="">_______________________________________________
lxc-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a></pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <span align="left" style="color: #7F7F7F; font-size: small;
        font-family: arial, helvetica, sans-serif; text-decoration:
        none; ">
        Remco Rohde, Consultant<br>
        Donald Smits Center for Information Technology<br>
        University of Groningen<br>
        Nettelbosje 1<br>
        9747 AJ Groningen<br>
        The Netherlands<br>
        <br>
        <a href="mailto:r.rohde@rug.nl" style="color: #404040;
          font-family: arial, helvetica, sans-serif; text-decoration:
          none; ">r.rohde@rug.nl</a><br>
        <a style="color: #404040; font-family: arial, helvetica,
          sans-serif; text-decoration: none; "
          href="http://www.rug.nl/cit">http://www.rug.nl/cit</a><br>
      </span></div>
  </body>
</html>