It's tricky trying to stay within the good graces of Red Hat and still plan for system longevity...
I've been a proponent of Linux Containers (LXC) for over a year. My initial installations were based on information gleaned from online tutorials, like this one and this one. This centered around the lxc-create
, lxc-start|stop
and lxc-destroy
commands and modifying existing OpenVZ templates.
This works well and is happily running in production. However, I am bringing up some additional systems and decided to check Red Hat's current documentation regarding containers in EL6. I was surprised to see their official stance on this.
In Does RHEL 6 provide LXC tools needed to use Linux Containers?, Red Hat describes LXC as a Technology Preview and suggests using libvirt to manage create and manage containers.
Yet Oracle advocates a totally different containerization technique in its Unbreakable Linux.
There appears to be some missing functionality in the libvirt method, but my initial approach with lxc-* commands was a bit of a manual process... I can't quite tell what's right or the "accepted" means of managing containers on EL6.
- What's the conventional wisdom regarding LXC and RHEL-like systems today?
- How are you implementing them in your organization?
- Are there any advantages to one approach versus the other(s)?
- Can these coexist?