[lxc-users] CentOS 7

Michael H. Warfield mhw at WittsEnd.com
Mon Nov 17 16:23:40 UTC 2014


Hey...

On Tue, 2014-10-28 at 23:24 +0100, Tamas Papp wrote:
> hi All,

> Can run CentOS 7 in a container?

Yes you can.  I haven't looked at the Docker stuff that was posted but I
have several CentOS 7 containers running as a part of my development
effort.

The current CentOS template (and lxc-start) is lacking several things
wrt systemd.  Even if you used the Docker container, you would still
need to set up some things in your config and probably modify some
things in your container (disable some services and enable a few others
like mgetty on the vtys).

In the config, you would need this:

lxc.autodev = 1
lxc.kmsg = 0

There are a few other tweaks that the Fedora template was performing for
systemd that I have ported over to the CentOS template, but I still need
to get the pieces into Stephane yet.  I've been wrestling with a couple
of discussions he and I had over the whole systemd detection and the
problem with kmsg (which is really journald) so I'm very tardy in
getting those changes in.

> 10x
> tamas

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!

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


More information about the lxc-users mailing list