SlideShare a Scribd company logo
Project Atomic And Multi-Container
Application Packaging
Lalatendu Mohanty
Senior Software Engineer @ Red Hat
Topics
●
Atomic Host
●
Nulecule
●
Atomic App
●
Getting Involved
Atomic Host
●
It is not a new GNU/Linux distribution.
●
Framework to create an OS from RHEL,
CentOS and Fedora.
●
Optimized for Linux containers.
Why Atomic Host?
●
Our expectation from an OS is not same
anymore.
– Pets vs Cattle.
●
Updating and maintaining the system should be
easy.
●
It needs to be more secure than the traditional
OS
Atomic hosts comprises of
●
Rpm-ostree
●
Cockpit
●
Kubernets
●
/usr/bin/atomic
●
Docker
OSTree
“OSTree was born to help implement a continuous
delivery model for operating systems. One can be a lot
more confident in updating systems if one knows that a
reliable rollback system is always available.”
COLIN WALTERS
Senior Software Engineer, Inventor of OSTree
Red Hat
rpm-ostree
●
Git for operating systems.
●
Update methods of containers and applied
them to operating system.
●
No more half way upgraded systems
# yum update
bash: yum: command not found
# atomic host upgrade
Upgrade prepared for next boot
# atomic host rollback
Successfully reset deployment
Why rpm-ostree?
●
Atomic host would only run containers.
●
Atomic update makes more sense for an
immutable system.
●
Allows reuse of RPMs.
●
No need to re-invent wheel on packaging.
●
Option to rollback to previous state (old good
state).
How rpm-ostree works?
●
Fiilesystem is read-only except /var and /etc
●
All data (e.g. containers) are unchanged on
upgrade.
●
/etc gets updated through a 3-way merge.
/usr/bin/atomic
●
Coherent entry point : manage host and
containers with the atomic command.
●
Fill gaps in Linux container implementations.
– e.g. “atomic install foo” can install a container with
its k8s configuration and/or systemd unit file.
– “atomic run” grabs the LABEL “run” with its all
command line details.
– It can serve as metadata for containers for different
use cases
Cockpit
●
Server manager for administrating Linux servers
via web browser.
●
Designed to be multi-server
●
Support for managing containers, Kubernetes.
●
http://cockpit-project.org/
Want to try?
●
ISOs are available for CentOS and Fedora
Atomic Host.
●
Available in public clouds.
●
For Vagrant users
– vagrant init fedora/23-atomic-host
– vagrant init centos/atomic-host
Any Questions for Atomic Host?
Website: projectatomic.io
IRC: #atomic on Freenode
Containers are great,
but it is not just one container.
In real life applications are composed of multiple
containers (Micro-services?)
But how to define a multi-container application
configuration without distributing instructions and
files to the end-user ?
We have docker compose , kubernetes
configuration files, but is it enough?
The application also goes through different stage
Metadata changes for
each stage.
Nulecule
●
A specification
●
Container technology independent
●
Provide a simple, flexible way to describe a
multi-container application, including all
dependencies.
Understanding Nulecule
●
Graph
– Directed acyclic graph to define application
dependencies/components.
Understanding Nulecule
●
Parametrization
– Values/information for deployment
– Default values (Can be overridden by answers.conf)
– Each component has its own parameters
– Supports variable substitution, regular expression etc
Understanding Nulecule
●
Answers.conf
– Porvides answers to question defined by prarameters
– Override default values of parameters (e.g. for
different environment)
Understanding Nulecule
●
Providers
– e.g. Kubernetes, OpenShift, Docker Compose, Mesos,
Docker
– Metadata for orchestrators/providers
A complete Nulecule Spec
Atomic App
●
Nulecule app installer
●
At this moment only supports docker run time
●
It performs all actions required to run the
application by reading the Nulecule spec.
– Downloading all required docker images
– Communicating to providers etc
Using Atomic App
●
As a docker image
●
Use atomicapp base image to build nulecule-ized
applications
●
Running a nulecule-ized applications
– $ atomic run projectatomic/helloapache
●
Uses /usr/bin/atomic labels
– $ grep Run Dockerfile
RUN="docker run -it --rm ${OPT1} --privileged -v `pwd`:/atomicapp -v
/run:/run -v /:/host --net=host --name ${NAME} -e NAME=${NAME} -e
IMAGE=${IMAGE} ${IMAGE} -v ${OPT2} run ${OPT3} ${IMAGE}"
Project Atomic-Nulecule
Nulecule-library
Get involved
●
https://github.com/projectatomic/nulecule
●
https://github.com/projectatomic/nulecule-libr
ary
●
https://github.com/projectatomic/atomicapp
●
#nulecule on Freenode
●
Mailing List: container-tools@redhat.com
Reference
●
http://www.slideshare.net/VavPavl/nulecule
Thank you :-)
Any questions please?
Contact me: @lalatenduM on Twitter
lalatenduM on Freenode

More Related Content

PDF
Swarm docker bangalore_meetup
PDF
Beginning mesos
PPTX
Docker practical solutions
PDF
Fluentd and docker monitoring
PDF
What's New in Docker 1.12?
PPTX
Docker Mentorweek beginner workshop notes
PDF
Networking Overview for Docker Platform
PDF
An introduction to Docker and Project Atomic
Swarm docker bangalore_meetup
Beginning mesos
Docker practical solutions
Fluentd and docker monitoring
What's New in Docker 1.12?
Docker Mentorweek beginner workshop notes
Networking Overview for Docker Platform
An introduction to Docker and Project Atomic

What's hot (20)

PPT
Docker Multi Host Networking, Rachit Arora, IBM
PDF
Docker serverless v1.0
PDF
Containerd: Building a Container Supervisor by Michael Crosby
PPTX
Docker 1.9 Feature Overview
PDF
Docker Orchestration at Production Scale
PDF
runC: The little engine that could (run Docker containers) by Docker Captain ...
PDF
Docker and the Linux Kernel
PDF
Docker 1.11 @ Docker SF Meetup
PDF
What's New in Docker 1.12 (June 20, 2016) by Mike Goelzer & Andrea Luzzardi
PDF
Endocode Kubernetes Meetup: Architecture Patterns for Microservices in Kubern...
PDF
Container Orchestration Integration: OpenStack Kuryr
PPTX
An Introduction to Kubernetes
PDF
Demystfying container-networking
PDF
Fedora Atomic Host
PDF
Introduction to LinuxKit - Docker Bangalore Meetup
PDF
ContainerDayVietnam2016: Django Development with Docker
PPTX
Comprehensive Monitoring for Docker
PDF
Docker Introduction
PDF
Continuous integration with Docker and Ansible
PDF
Docker Networking with Container Orchestration Engines [Docker Meetup Santa C...
Docker Multi Host Networking, Rachit Arora, IBM
Docker serverless v1.0
Containerd: Building a Container Supervisor by Michael Crosby
Docker 1.9 Feature Overview
Docker Orchestration at Production Scale
runC: The little engine that could (run Docker containers) by Docker Captain ...
Docker and the Linux Kernel
Docker 1.11 @ Docker SF Meetup
What's New in Docker 1.12 (June 20, 2016) by Mike Goelzer & Andrea Luzzardi
Endocode Kubernetes Meetup: Architecture Patterns for Microservices in Kubern...
Container Orchestration Integration: OpenStack Kuryr
An Introduction to Kubernetes
Demystfying container-networking
Fedora Atomic Host
Introduction to LinuxKit - Docker Bangalore Meetup
ContainerDayVietnam2016: Django Development with Docker
Comprehensive Monitoring for Docker
Docker Introduction
Continuous integration with Docker and Ansible
Docker Networking with Container Orchestration Engines [Docker Meetup Santa C...
Ad

Similar to Project Atomic-Nulecule (20)

PDF
Introduction to Project atomic (CentOS Dojo Bangalore)
PDF
Introduction to Atomic: Tailoring a Trusted OS for Containers
PDF
Fedora Atomic Host
PDF
Thinking inside the box (shared)
PPTX
Kubernetes 101
PDF
What's new in kubernetes 1.3?
PDF
Kubernetes and CoreOS @ Athens Docker meetup
PDF
JOSA TechTalks - Docker in Production
PDF
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
PPTX
Containerizing GPU Applications with Docker for Scaling to the Cloud
PDF
Scalable Spark deployment using Kubernetes
PDF
OSDC 2016 | rkt and Kubernetes: What’s new with Container Runtimes and Orches...
PDF
OSDC 2016 - rkt and Kubernentes what's new with Container Runtimes and Orches...
PDF
Puppet Camp Seattle 2014: Docker and Puppet: 1+1=3
PDF
Open shift and docker - october,2014
PDF
4. CNCF kubernetes Comparison of-existing-cni-plugins-for-kubernetes
PDF
Containerize! Between Docker and Jube.
PDF
Introduction to containers a practical session using core os and docker
ODP
Docker on Power Systems
PPTX
Comparison of existing cni plugins for kubernetes
Introduction to Project atomic (CentOS Dojo Bangalore)
Introduction to Atomic: Tailoring a Trusted OS for Containers
Fedora Atomic Host
Thinking inside the box (shared)
Kubernetes 101
What's new in kubernetes 1.3?
Kubernetes and CoreOS @ Athens Docker meetup
JOSA TechTalks - Docker in Production
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
Containerizing GPU Applications with Docker for Scaling to the Cloud
Scalable Spark deployment using Kubernetes
OSDC 2016 | rkt and Kubernetes: What’s new with Container Runtimes and Orches...
OSDC 2016 - rkt and Kubernentes what's new with Container Runtimes and Orches...
Puppet Camp Seattle 2014: Docker and Puppet: 1+1=3
Open shift and docker - october,2014
4. CNCF kubernetes Comparison of-existing-cni-plugins-for-kubernetes
Containerize! Between Docker and Jube.
Introduction to containers a practical session using core os and docker
Docker on Power Systems
Comparison of existing cni plugins for kubernetes
Ad

More from Lalatendu Mohanty (14)

PDF
KubeCon NA 2024_ Operator Framework Maintainer Track-1.pdf
PDF
Confident OpenShift Upgrades with the Update Graph.pdf
PDF
Reproducible development to live applications with Red Hat CDK and Red Hat Op...
PDF
OpenShift As A DevOps Platform
PPTX
Contributing To CentOS SIGs
PDF
Atomic CLI scan
PDF
Red Hat Container Development Kit
PDF
Introduction to docker and docker compose
PDF
Developer workflow with docker
PDF
Vagrant For DevOps
PDF
GlusterFS And Big Data
PDF
Bringing-it-all-together-overview-of-rpm-packaging-in-fedora
PDF
Running A SIG in CentOS @Devconf Brno 2014
PDF
Docker quick start
KubeCon NA 2024_ Operator Framework Maintainer Track-1.pdf
Confident OpenShift Upgrades with the Update Graph.pdf
Reproducible development to live applications with Red Hat CDK and Red Hat Op...
OpenShift As A DevOps Platform
Contributing To CentOS SIGs
Atomic CLI scan
Red Hat Container Development Kit
Introduction to docker and docker compose
Developer workflow with docker
Vagrant For DevOps
GlusterFS And Big Data
Bringing-it-all-together-overview-of-rpm-packaging-in-fedora
Running A SIG in CentOS @Devconf Brno 2014
Docker quick start

Recently uploaded (20)

PDF
AI in Product Development-omnex systems
PDF
System and Network Administraation Chapter 3
PDF
System and Network Administration Chapter 2
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
history of c programming in notes for students .pptx
PDF
Nekopoi APK 2025 free lastest update
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Digital Strategies for Manufacturing Companies
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
top salesforce developer skills in 2025.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Operating system designcfffgfgggggggvggggggggg
AI in Product Development-omnex systems
System and Network Administraation Chapter 3
System and Network Administration Chapter 2
ManageIQ - Sprint 268 Review - Slide Deck
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
How to Choose the Right IT Partner for Your Business in Malaysia
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
CHAPTER 2 - PM Management and IT Context
history of c programming in notes for students .pptx
Nekopoi APK 2025 free lastest update
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Digital Strategies for Manufacturing Companies
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Upgrade and Innovation Strategies for SAP ERP Customers
How Creative Agencies Leverage Project Management Software.pdf
top salesforce developer skills in 2025.pdf
Design an Analysis of Algorithms I-SECS-1021-03
Operating system designcfffgfgggggggvggggggggg

Project Atomic-Nulecule