Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7...
Transcript of Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7...
![Page 1: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/1.jpg)
Linux Containers RoadmapRed Hat Enterprise Linux 7
Docker Meetup - WellingtonSteven EllisSolution ArchitectRed Hat NZ
![Page 2: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/2.jpg)
Red Hat's Been Investing in Linux Containers Technology for a While
![Page 3: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/3.jpg)
How about Red Hat Linux Containers?
400,000 users
Server 1: 100 containers
Server 2: 100 containers
Server 40: 100 containers
Value Proposition
Application isolation mechanism for Light-weight multi-tenancy
![Page 4: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/4.jpg)
RHEL 7 Linux Containers Use Case 1Host Containers
Host Containers
Identical Containers
Host RHEL
● RHEL 7 host carved into secure containers● Each container running RHEL 7 userspace● Pro : Security erratas can be applied easily with “yum update”● Con : Limited to RHEL 7 runtimes
![Page 5: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/5.jpg)
RHEL 7 Linux Containers Use Case 2Image-based Containers
Image-based Containers
Non-identical ContainersRHEL 6 RHEL 7RHSCLFedora
Docker format
● Docker includes the userspace runtime of an application
● Docker builds on Linux Containers and provides format for content distribution
![Page 6: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/6.jpg)
Image-based Containers with Docker technology
App Layer
LayeredImage 2
Base Image
Layered Image 1
Base Image
RHEL 7 Container Host
App ASCL 1
RHEL 7Runtime
App BSCL 2
RHEL 6.5Runtime
App CSCL3
RHEL6.6Runtime
![Page 7: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/7.jpg)
Linux Containers in Red Hat Enterprise Linux 7
Red Hat Enterprise Linux 7
Host ContainersImage-based
Containers
Identical Containers Non-identical ContainersRHEL 6 RHEL 7RHSCLFedora
Host RHEL
![Page 8: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/8.jpg)
RHEL 7 Deployment Models
Container Host OS & Central Shared Services
Hardware
MgmtContainers
ServiceContainers
App B
RuntimeB
App C
Runtime C
Kernel & HW Drivers
App A
RuntimeA
Container Host OS & Central Shared Services
Kernel & Virt Drivers
Hardware
Host OS
Kernel & HW Drivers
Hypervisor
MgmtContainers
ServiceContainers
App B
RuntimeB
App C
Runtime C
App A
RuntimeA
● Containers can be deployed in baremetal or virtual● RHEL 7 supports both Virtualization with KVM and Linux Containers
![Page 9: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/9.jpg)
Hardware
App BRuntime B
App CRuntime C
App ARuntime A
Container Host OS & Central Shared Services
MgmtContainers
ServiceContainers
Kernel & HW Drivers
RHEL 7 Container Host
![Page 10: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/10.jpg)
Docker CLI
•Tool to package an application and its runtime dependencies for deployment into a Linux Container
•Docker 0.9 includes libContainer, native LXC implementation
Docker format
![Page 11: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/11.jpg)
Red Hat Enterprise Linux 7 Containers Architecture with Docker CLI
RHEL Kernel
Hardware (Intel, AMD)
Containers ContainersContainers
Unit File
Docker Image
DOCKER CLI
SYSTEMD
Cgroups Namespaces SELinux
Drivers
![Page 12: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/12.jpg)
Red Hat Certification for Containerized Apps
http://www.redhat.com/about/news/press-archive/2014/3/red-hat-announces-certification-for-containerized-applications-extends-customer-confidence-and-trust-to-the-cloud
![Page 13: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/13.jpg)
Docker, Project Atomic & GearD
![Page 14: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/14.jpg)
Project Atomic Brings It All Together On A New Lightweight RHEL Container Host
![Page 15: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/15.jpg)
15
Red Hat Enterprise Linux Atomic Host
![Page 16: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/16.jpg)
GearD - Elastic Container Wiring
Integrate multiple containers, spanning multiple hosts to build complex, composite applications, using an IP-based container linking framework.
![Page 17: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/17.jpg)
OpenShift Origin “GearD” Project Integrates That Core With Docker
![Page 18: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/18.jpg)
IT Ops / Sysadmin Friendly
Tightly integrates with both Docker (Docker daemon & API) and RHEL OS technology such as systemd (create unit files, logging via journalctl).
![Page 19: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/19.jpg)
OpenShift Integration
Integrate OpenShift GearD and RHEL Atomic Host Nodes with Broker as part of OpenShift Enterprise 3.0 to leverage full OpenShift capabilities.
![Page 20: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/20.jpg)
20
Red Hat Enterprise Linux Atomic Host
• Minimal optimized container host with atomic updates.
• Systemd for process management.
• Generic container orchestration primitives.
• Integrated with OpenShift Geard for cross-node PaaS orchestration.
• Shared services and management agents deployed as privileged containers
![Page 21: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/21.jpg)
Demo
![Page 22: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/22.jpg)
Linux Containers in RHEL 7 - Key Takeways
•Application isolation mechanism for Light-weight multi-tenancy
•Application centric packaging w/ Docker image-based containers
•Linux Containers Productization
•Key kernel enablers – full support in RHEL 7 GA
•Docker 1.0 – shipped after RHEL 7 GA
•Linux Container Certification
•Red Hat and Docker partnership to build enterprise grade Docker containers
![Page 23: Linux Containers Roadmap Red Hat Enterprise Linux 7people.redhat.com/sellis/Presentations/RHEL 7 Containers Atomic Do… · •Application centric packaging w/ Docker image-based](https://reader030.fdocuments.in/reader030/viewer/2022041015/5ec5f756b7ffee5db81046f2/html5/thumbnails/23.jpg)
Questions?