Introducing the “rhel-tools” for RHEL Atomic Host
developerblog.redhat.com
developerblog.redhat.com
The question is, how to deploy an application in this kind of environment? Maybe I build a minimal container and find that a DBMS works fine until it does something like dlopen("/usr/lib/libxml2.so"). Oops, rebuild the container with another library and try again.
After fixing one of the broken links in the blog post, I found this article, which describes an Oracle container:
http://rhelblog.redhat.com/2014/10/29/containerizing-databas...
I'm using vagrant for development and sometimes I run 2-3 containers with the same project.
My MacBook has 16 GB RAM, 2.8 i7 CPU, but no wonder I have troubles with the CPU going to the top.
I'm not sure how far containers will be popularised, but indeed it will definitely have some performance drawbacks.
To make this workable, I guess you have to union mount the application-specific filesystem over a filesystem with ABI-stable system libraries.
each program is confined to it's own directory by default and has everything it needs to run.. if it depends on something in the OS, it's aware it's there because of the release version and distro..
this could be done easily in a manifest file (you can ask yum for instance what's installed).
maybe I'm overthinking it, maybe it's a horrible idea.
Some distributions have tried a similar approach. PC-BSD has the PBI format. Slax uses compressed file system images for packages. There's solutions like 0install (and tons of predecessors) that have tried to do it. None have really caught on.
[0] From the GDC presentations about Windows 10 features.