SlideShare una empresa de Scribd logo
1 de 12
Descargar para leer sin conexión
Running your containers in a sane environment,
Project Atomic
Aditya Patawari
Contributor to Fedora Admin team
Lead Engineer (Infrastructure) at BrowserStack.com
aditya@adityapatawari.com
adimania on freenode irc
http://blog.adityapatawari.com
April 21, 2015
Aditya Patawari Running your containers in a sane environment, Project Atomic
Topics
What is Docker?
Why not LXC or VM?
Project Atomic is here!
.. Along with some components
Starting our Atomic Host
Docker Commands
Docker Repository
Aditya Patawari Running your containers in a sane environment, Project Atomic
What is the problem?
We need a stable environment to run containers
We need to support automation
Managing hosts should involve minimal efforts
Aditya Patawari Running your containers in a sane environment, Project Atomic
Project Atomic is here!
Minimal operating system
Benefits of our favorite Enterprise Linux
Robust atomic upgrades and systemd
Ready to take on cloud, virtualized or bare metal
Aditya Patawari Running your containers in a sane environment, Project Atomic
.. including rpm-ostree ..
Bootable, immutable, versioned filesystem trees
Composed from standard rpms
Atomic upgrade and rollbacks
Only /etc and /var are writable
Aditya Patawari Running your containers in a sane environment, Project Atomic
.. and Systemd ..
System and service manager for Linux
Replacing the init in Centos 7
Highly modular and much more powerful than sysV
Check out http://0pointer.de/blog/projects/why.html
Aditya Patawari Running your containers in a sane environment, Project Atomic
.. also Introducing Cockpit..
Aditya Patawari Running your containers in a sane environment, Project Atomic
.. and lastly Kubernetes ..
Master-slave arch
Boot new containers
Scalable and fault tolerant
Lots of examples and setup instructions at
https://github.com/GoogleCloudPlatform/kubernetes
Aditya Patawari Running your containers in a sane environment, Project Atomic
Starting Atomic Host
Atomic host needs cloud-init data
Info about the host, i.e. meta-data
Info about the user, i.e. user-data
Aditya Patawari Running your containers in a sane environment, Project Atomic
cloud-init data
$ cat meta-data
instance-id: iid-local01;
local-hostname: myhost;
$ cat user-data
#cloud-config
password: mypassword
ssh_pwauth: True
chpasswd: { expire: False }
ssh_authorized_keys:
- ssh-rsa ... foo@foo.com
$ genisoimage -output init.iso -volid cidata -joliet 
-rock user-data meta-data
Aditya Patawari Running your containers in a sane environment, Project Atomic
Demo!
Start a container.
Verify that it works.
Kill the container.
OOOOO... Magic!
Aditya Patawari Running your containers in a sane environment, Project Atomic
Questions?
Now is your chance :)
Aditya Patawari Running your containers in a sane environment, Project Atomic

Más contenido relacionado

La actualidad más candente

Spinnaker VLDB 2011
Spinnaker VLDB 2011Spinnaker VLDB 2011
Spinnaker VLDB 2011
sandeep_tata
 

La actualidad más candente (20)

A Customized Approach to HTTP Proxy Caching in Ruby
A Customized Approach to HTTP Proxy Caching in RubyA Customized Approach to HTTP Proxy Caching in Ruby
A Customized Approach to HTTP Proxy Caching in Ruby
 
Docker Birtday #5
Docker Birtday #5Docker Birtday #5
Docker Birtday #5
 
Intro to Kubernetes Workshop — Innovation Labs July 2020
Intro to Kubernetes Workshop — Innovation Labs July 2020Intro to Kubernetes Workshop — Innovation Labs July 2020
Intro to Kubernetes Workshop — Innovation Labs July 2020
 
Using Docker in Production
Using Docker in ProductionUsing Docker in Production
Using Docker in Production
 
9 ways to consume kubernetes on open stack in 15 mins (k8s meetup)
9 ways to consume kubernetes on open stack in 15 mins (k8s meetup)9 ways to consume kubernetes on open stack in 15 mins (k8s meetup)
9 ways to consume kubernetes on open stack in 15 mins (k8s meetup)
 
JupyterHub + kubernetes
JupyterHub + kubernetesJupyterHub + kubernetes
JupyterHub + kubernetes
 
London HUG 12/4
London HUG 12/4London HUG 12/4
London HUG 12/4
 
Setting up a kubernetes cluster on ubuntu 18.04- loves cloud
Setting up a kubernetes cluster on ubuntu 18.04- loves cloudSetting up a kubernetes cluster on ubuntu 18.04- loves cloud
Setting up a kubernetes cluster on ubuntu 18.04- loves cloud
 
Spinnaker VLDB 2011
Spinnaker VLDB 2011Spinnaker VLDB 2011
Spinnaker VLDB 2011
 
Tips on solving E_TOO_MANY_THINGS_TO_LEARN with Kubernetes
Tips on solving E_TOO_MANY_THINGS_TO_LEARN with KubernetesTips on solving E_TOO_MANY_THINGS_TO_LEARN with Kubernetes
Tips on solving E_TOO_MANY_THINGS_TO_LEARN with Kubernetes
 
Continuous Deployment
Continuous DeploymentContinuous Deployment
Continuous Deployment
 
DevOps 2015 - Dancing with Chef
DevOps 2015 - Dancing with ChefDevOps 2015 - Dancing with Chef
DevOps 2015 - Dancing with Chef
 
Continuous Deployment with Jenkins on Kubernetes
Continuous Deployment with Jenkins on KubernetesContinuous Deployment with Jenkins on Kubernetes
Continuous Deployment with Jenkins on Kubernetes
 
Docker Essentials Workshop— Innovation Labs July 2020
Docker Essentials Workshop— Innovation Labs July 2020Docker Essentials Workshop— Innovation Labs July 2020
Docker Essentials Workshop— Innovation Labs July 2020
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction
 
Elasticsearch on Kubernetes
Elasticsearch on KubernetesElasticsearch on Kubernetes
Elasticsearch on Kubernetes
 
Azure container service overview
Azure container service overviewAzure container service overview
Azure container service overview
 
Elixir/Phoenix releases and research about common deployment strategies.
Elixir/Phoenix releases and research about common deployment strategies.Elixir/Phoenix releases and research about common deployment strategies.
Elixir/Phoenix releases and research about common deployment strategies.
 
Self Heal Your OpenStack Control Plane!
Self Heal Your OpenStack Control Plane!Self Heal Your OpenStack Control Plane!
Self Heal Your OpenStack Control Plane!
 
Kubernetes HA @ AppDirect - Montreal Kubernetes Meetup
Kubernetes HA @ AppDirect - Montreal Kubernetes MeetupKubernetes HA @ AppDirect - Montreal Kubernetes Meetup
Kubernetes HA @ AppDirect - Montreal Kubernetes Meetup
 

Similar a Project Atomic - rootconf2015

Developing and Deploying PHP with Docker
Developing and Deploying PHP with DockerDeveloping and Deploying PHP with Docker
Developing and Deploying PHP with Docker
Patrick Mizer
 
kata-containers-onboarding-deck.pptx
kata-containers-onboarding-deck.pptxkata-containers-onboarding-deck.pptx
kata-containers-onboarding-deck.pptx
QforQA
 

Similar a Project Atomic - rootconf2015 (20)

An introduction to Docker and Project Atomic
An introduction to Docker and Project AtomicAn introduction to Docker and Project Atomic
An introduction to Docker and Project Atomic
 
ACRN Kata Container on ACRN
ACRN Kata Container on ACRNACRN Kata Container on ACRN
ACRN Kata Container on ACRN
 
Developing and Deploying PHP with Docker
Developing and Deploying PHP with DockerDeveloping and Deploying PHP with Docker
Developing and Deploying PHP with Docker
 
Docker for Java Developers
Docker for Java DevelopersDocker for Java Developers
Docker for Java Developers
 
Docker orchestration voxxed days berlin 2016
Docker orchestration   voxxed days berlin 2016Docker orchestration   voxxed days berlin 2016
Docker orchestration voxxed days berlin 2016
 
Altinity Cluster Manager: ClickHouse Management for Kubernetes and Cloud
Altinity Cluster Manager: ClickHouse Management for Kubernetes and CloudAltinity Cluster Manager: ClickHouse Management for Kubernetes and Cloud
Altinity Cluster Manager: ClickHouse Management for Kubernetes and Cloud
 
O365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
O365Con19 - Lets Get Started with Azure Container Instances - Jussi RoineO365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
O365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
 
Halifax DevOps - Meet-up - July.19 2017
Halifax DevOps - Meet-up - July.19 2017Halifax DevOps - Meet-up - July.19 2017
Halifax DevOps - Meet-up - July.19 2017
 
Kubernetes 101 for_penetration_testers_-_null_mumbai
Kubernetes 101 for_penetration_testers_-_null_mumbaiKubernetes 101 for_penetration_testers_-_null_mumbai
Kubernetes 101 for_penetration_testers_-_null_mumbai
 
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on ContainersWSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
 
Deploying WSO2 Middleware on Containers
Deploying WSO2 Middleware on ContainersDeploying WSO2 Middleware on Containers
Deploying WSO2 Middleware on Containers
 
Docker containers & the Future of Drupal testing
Docker containers & the Future of Drupal testing Docker containers & the Future of Drupal testing
Docker containers & the Future of Drupal testing
 
Docker, but what it is?
Docker, but what it is?Docker, but what it is?
Docker, but what it is?
 
Webinar container management in OpenStack
Webinar container management in OpenStackWebinar container management in OpenStack
Webinar container management in OpenStack
 
kata-containers-onboarding-deck.pptx
kata-containers-onboarding-deck.pptxkata-containers-onboarding-deck.pptx
kata-containers-onboarding-deck.pptx
 
Dockerizing a Symfony2 application
Dockerizing a Symfony2 applicationDockerizing a Symfony2 application
Dockerizing a Symfony2 application
 
Kubernetes 101 and Fun
Kubernetes 101 and FunKubernetes 101 and Fun
Kubernetes 101 and Fun
 
Kubernetes 101 and Fun
Kubernetes 101 and FunKubernetes 101 and Fun
Kubernetes 101 and Fun
 
VMware@Night Container and Virtualization
VMware@Night Container and VirtualizationVMware@Night Container and Virtualization
VMware@Night Container and Virtualization
 
VMware@Night: Container & Virtualisierung
VMware@Night: Container & VirtualisierungVMware@Night: Container & Virtualisierung
VMware@Night: Container & Virtualisierung
 

Más de Aditya Patawari (8)

Networking Overview for Docker Platform
Networking Overview for Docker PlatformNetworking Overview for Docker Platform
Networking Overview for Docker Platform
 
Beginning mesos
Beginning mesosBeginning mesos
Beginning mesos
 
BrowserStack Security Breach. Lessons Learned.
BrowserStack Security Breach. Lessons Learned.BrowserStack Security Breach. Lessons Learned.
BrowserStack Security Breach. Lessons Learned.
 
Git
GitGit
Git
 
Introduction to Puppet and Usage In Cloud
Introduction to Puppet and Usage In CloudIntroduction to Puppet and Usage In Cloud
Introduction to Puppet and Usage In Cloud
 
Koji and pulp
Koji and pulpKoji and pulp
Koji and pulp
 
Foss.in Fedora Mini Conf
Foss.in Fedora Mini ConfFoss.in Fedora Mini Conf
Foss.in Fedora Mini Conf
 
Linux and lamp
Linux and lampLinux and lamp
Linux and lamp
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

Project Atomic - rootconf2015

  • 1. Running your containers in a sane environment, Project Atomic Aditya Patawari Contributor to Fedora Admin team Lead Engineer (Infrastructure) at BrowserStack.com aditya@adityapatawari.com adimania on freenode irc http://blog.adityapatawari.com April 21, 2015 Aditya Patawari Running your containers in a sane environment, Project Atomic
  • 2. Topics What is Docker? Why not LXC or VM? Project Atomic is here! .. Along with some components Starting our Atomic Host Docker Commands Docker Repository Aditya Patawari Running your containers in a sane environment, Project Atomic
  • 3. What is the problem? We need a stable environment to run containers We need to support automation Managing hosts should involve minimal efforts Aditya Patawari Running your containers in a sane environment, Project Atomic
  • 4. Project Atomic is here! Minimal operating system Benefits of our favorite Enterprise Linux Robust atomic upgrades and systemd Ready to take on cloud, virtualized or bare metal Aditya Patawari Running your containers in a sane environment, Project Atomic
  • 5. .. including rpm-ostree .. Bootable, immutable, versioned filesystem trees Composed from standard rpms Atomic upgrade and rollbacks Only /etc and /var are writable Aditya Patawari Running your containers in a sane environment, Project Atomic
  • 6. .. and Systemd .. System and service manager for Linux Replacing the init in Centos 7 Highly modular and much more powerful than sysV Check out http://0pointer.de/blog/projects/why.html Aditya Patawari Running your containers in a sane environment, Project Atomic
  • 7. .. also Introducing Cockpit.. Aditya Patawari Running your containers in a sane environment, Project Atomic
  • 8. .. and lastly Kubernetes .. Master-slave arch Boot new containers Scalable and fault tolerant Lots of examples and setup instructions at https://github.com/GoogleCloudPlatform/kubernetes Aditya Patawari Running your containers in a sane environment, Project Atomic
  • 9. Starting Atomic Host Atomic host needs cloud-init data Info about the host, i.e. meta-data Info about the user, i.e. user-data Aditya Patawari Running your containers in a sane environment, Project Atomic
  • 10. cloud-init data $ cat meta-data instance-id: iid-local01; local-hostname: myhost; $ cat user-data #cloud-config password: mypassword ssh_pwauth: True chpasswd: { expire: False } ssh_authorized_keys: - ssh-rsa ... foo@foo.com $ genisoimage -output init.iso -volid cidata -joliet -rock user-data meta-data Aditya Patawari Running your containers in a sane environment, Project Atomic
  • 11. Demo! Start a container. Verify that it works. Kill the container. OOOOO... Magic! Aditya Patawari Running your containers in a sane environment, Project Atomic
  • 12. Questions? Now is your chance :) Aditya Patawari Running your containers in a sane environment, Project Atomic