News for hackers. Stuff that matters.
Re:Red Hat Enterprise Linux 7 Beta by WestCoastJustin on Wednesday December 11, 2013 @11:25AM (#6888439)
> Improved Application Performance and Isolation. Run applications in isolated and secure lightweight containers utilizing SELinux and resource management. Linux containers provide a method of isolating a process and simulating its environment inside a single host. It provides application sandboxing technology to run applications in a secure container environment, isolated from other applications running in the same host operating system environment. Linux containers are useful when multiple copies of an application or workload need to be run in isolation, but share environments and resources. [1]

Looks like there is a major shift in that they will support containers out of the box now. Hopefully we will see some type of GUI to create containers and manage cgroups. There has also been major effort assigned to getting containers working with OpenStack and Docker. You can manually download/compile LXC today, on RHEL 6.4, but it seems like a bit of a hack, since you need to figure out networking and LVM on your own, never mind building base container images. Should be interesting.

[1] https://access.redhat.com/site/sites/default/files/pages/att...

Re:Red Hat Enterprise Linux 7 Beta by andor on Wednesday December 11, 2013 @01:01PM (#6889297)
Hopefully we will see some type of GUI to create containers and manage cgroups.

The GUI for libvirt is called virt-manager: http://virt-manager.org/

Re:Red Hat Enterprise Linux 7 Beta by deno on Wednesday December 11, 2013 @02:26PM (#6889970)
It can be even more seamless and convenient than that with Systemd.

https://fedoraproject.org/wiki/Features/SystemdLightweightCo...

I’m not sure what Systemd version they’ll end up shipping though.

The best part about Systemd is that the default framework for launching and monitoring services is essentially LXC without the padding (extra PID0 etc). This means every service can benefit and there’s no need for the unnecessary abstraction (the container) and all the (mental not necessary performance) overhead that goes with it.

Needless to say, I’m quite excited about what is happening on Linux nowadays :)

Re:Red Hat Enterprise Linux 7 Beta by andor on Wednesday December 11, 2013 @07:05PM (#6891856)
systemd-nspawn isn't recommended for production use. I can't tell you why that is, but if you search for it, you'll find a few places where Lennart Poettering recommends libvirt-lxc for deployment (which is completely unrelated to the other "LXC" project).

This means every service can benefit and there’s no need for the unnecessary abstraction

Of course you could run software on bare metal ;-) But containers are a nice way to ship whole projects including the dependencies. Especially if you deploy to lots of machines.

Re:Red Hat Enterprise Linux 7 Beta by rwmj on Wednesday December 11, 2013 @04:29PM (#6890871)
Looks like systemd 207.
Re:Red Hat Enterprise Linux 7 Beta by qeorge on Wednesday December 11, 2013 @12:17PM (#6888916)
There has also been major effort assigned to getting containers working with OpenStack and Docker.

Relevant interview w/ Alexander Larsson: http://opensource.com/business/13/11/docker-fedora-red-hat-c...

Re:Red Hat Enterprise Linux 7 Beta by nickstinemates on Wednesday December 11, 2013 @12:12PM (#6888870)
There's significant effort underway in the Docker community to get libvirt as a viable execution engine for Docker. Very similar to how you can choose between AUFS and LVM.
Re:Red Hat Enterprise Linux 7 Beta by nailer on Wednesday December 11, 2013 @11:43AM (#6888594)
Exactly - if they support and test LXC now, and the market demands Docker a year into the lifecycle (RH generally don't add features between major releases, so it'd have to be worth it for them), it's still doable as it's a userspace addition.
Re:Red Hat Enterprise Linux 7 Beta by greglindahl on Wednesday December 11, 2013 @03:11PM (#6890329)
Red Hat just added Docker to RHEL 6.5, so there's your example of them adding something mid-lifetime.
Re:Red Hat Enterprise Linux 7 Beta by SEJeff on Wednesday December 11, 2013 @03:22PM (#6890392)
"Added" via EPEL and supported by redhat officially isn't the same thing.
Re:Red Hat Enterprise Linux 7 Beta by greglindahl on Wednesday December 11, 2013 @03:28PM (#6890438)
Red Hat Enterprise Linux 6.5 now Generally Available (adds Docker support) http://developerblog.redhat.com/2013/11/26/rhel6-5-ga/
Re:Red Hat Enterprise Linux 7 Beta by rodgerd on Wednesday December 11, 2013 @03:43PM (#6890555)
True, but Software Collections are now a nice half-way house for fast-moving things RH customers want support for. It may turn up there.
Re:Red Hat Enterprise Linux 7 Beta by 3am on Wednesday December 11, 2013 @01:15PM (#6889402)
If you really need that much support tooling around lxc, why not go with OpenShift?
Re:Red Hat Enterprise Linux 7 Beta by sharprazor on Wednesday December 11, 2013 @11:42AM (#6888586)
Sounds a lot like Solaris containers of a decade ago.
Re:Red Hat Enterprise Linux 7 Beta by WestCoastJustin on Wednesday December 11, 2013 @11:44AM (#6888613)
Yeah, I have been doing some research for an upcoming screencast, and this type of idea is called Operating system-level virtualization [1], and there is a fairly good table with the various OS's and their take on OS-level virtualization. E.g. Solaris Containers, FreeBSD Jail, OpenVZ, HP-UX Containers, etc.

[1] http://en.wikipedia.org/wiki/Operating_system-level_virtuali...

Re:Red Hat Enterprise Linux 7 Beta by ghaff on Wednesday December 11, 2013 @01:40PM (#6889595)
Here's a background piece on containers that I wrote a few months back: http://bitmason.blogspot.com/2013/09/what-are-containers-any...
Re:Red Hat Enterprise Linux 7 Beta by WestCoastJustin on Wednesday December 11, 2013 @01:44PM (#6889628)
Thanks. FYI, I just posted this to HN [1]. Seeing as you put in all this effort, you should have people reading it, outside this thread. Looks like you made the front page too!

[1] https://news.ycombinator.com/item?id=6889679

Re:Red Hat Enterprise Linux 7 Beta by ghaff on Wednesday December 11, 2013 @06:50PM (#6891775)
Thanks! I was wondering where my piece popped up from :-)
Re:Red Hat Enterprise Linux 7 Beta by nailer on Wednesday December 11, 2013 @11:43AM (#6888601)
Yep. Or BSD jails before that.