SlideShare une entreprise Scribd logo
1  sur  22
Télécharger pour lire hors ligne
Jaime Melis
OpenNebula Systems Infrastructure Engineer
@j_melis
jmelis@opennebula.org
OpenNebula and Docker
Docker and OpenNebula
+
Docker Workflow
Dev
Application
Docker Workflow
Image from
dzone.com
Docker and OpenNebula
Devops
Docker and OpenNebula
Virtual Machine
Docker Host
Virtual Machine
Docker Host
© OpenNebula Systems SL
Developer
● Docker workflow
● Doesn't know the underlying infrastructure
Devops
● Needs "infinite" or "cloud" resources
● Uses VMs to deploy Dockers
○ Better control, security
○ Leverage virtualization technologies
● Multi-tenancy layer
Docker and OpenNebula
© OpenNebula Systems SL
Deploy a Docker Host in OpenNebula
Docker Machine
© OpenNebula Systems SL
Docker-Machine Purpose
Docker Client
Public Cloud
Docker Machine
© OpenNebula Systems SL
Lightweight Linux distribution based on Tiny
Core Linux made specifically to run Docker
containers.
http://boot2docker.io
Boot2Docker
© OpenNebula Systems SL
Docker-Machine + OpenNebula - Requirements
Requirements
● Desktop/Laptop access to OpenNebula CLI
● Image for Docker Engine
● Install Docker Machine
● Install OpenNebula Docker Machine driver plugin:
https://github.com/OpenNebula/docker-machine-opennebula
Docker-Machine + OpenNebula - You can try it out
Demo
https://github.com/OpenNebula/
docker-machine-opennebula
© OpenNebula Systems SL
Docker-Machine + OpenNebula - Usage I/II
Usage
● --opennebula-template-name: Name of the Template
● --opennebula-template-id: ID of the Template to use
● --opennebula-cpu: CPU value for the VM
● --opennebula-dev-prefix: Dev prefix to use for the images: 'vd', 'sd',
● --opennebula-disk-resize: Size of disk for VM in MB
● --opennebula-image-id: Image ID to use as the OS
● --opennebula-image-name: Image to use as the OS
● --opennebula-image-owner: Owner of the image to use as the OS
● --opennebula-memory: Size of memory for VM in MB
© OpenNebula Systems SL
Docker-Machine + OpenNebula - Usage II/II
Usage (cont.)
● --opennebula-network-id: Network ID to connect the machine to
● --opennebula-network-name: Network to connect the machine to
● --opennebula-network-: User ID of the Network to connect the machine to
● --opennebula-ssh-user: Set the name of the SSH user
● --opennebula-vcpu: VCPUs for the VM
● --opennebula-disable-vnc: VNC is enabled by default.
● --opennebula-b2d-size: Size of the Volatile disk in MB (only for b2d)
© OpenNebula Systems SL
OneFlow + Docker - Overview
Docker Swarm
Cluster of docker containers
Elasticity policy managed by OneFlow
© OpenNebula Systems SL
OneFlow + Docker - Understand
© OpenNebula Systems SL
Rancher
Simple, easy-to-use container management
DEMO
© OpenNebula Systems SL
Docker Machine & OpenNebula
If it supports
Then it supports
© OpenNebula Systems SL
Third Party Integrations
OneDock: Docker support for OpenNebula
This project intends to provide support for OpenNebula to create Docker
containers and deliver them to the end user as if they were Virtual Machines.
https://github.com/indigo-dc/onedock
© OpenNebula Systems SL
Third Party Integrations
LXDOne: Docker support for OpenNebula
LXDoNe is an addon for OpenNebula to manage LXD Containers. It fits in the
Virtualization and Monitorization Driver section according to OpenNebula's
Architecture.
https://github.com/OpenNebula/addon-lxdone
© OpenNebula Systems SL
Third Party Integrations
Corona: Distribute OpenNebula in Docker containers
CORONA is a containerized OpenNebula deployment. The primary goal is to
build a OpenNebula deployment which can easily be rolled out or rolled back. At
the moment the plan is to split the services into 3 containers libvirt, onenode,
and oneserver.
https://github.com/fasrc/corona
THANKS!
OpenNebulaConf 2017 US
5th
edition

Contenu connexe

Tendances

OpenNebulaconf2017US: Paying down technical debt with "one" dollar bills by ...
OpenNebulaconf2017US:  Paying down technical debt with "one" dollar bills by ...OpenNebulaconf2017US:  Paying down technical debt with "one" dollar bills by ...
OpenNebulaconf2017US: Paying down technical debt with "one" dollar bills by ...
OpenNebula Project
 

Tendances (20)

Civil War: LXD vs Docker
Civil War: LXD vs DockerCivil War: LXD vs Docker
Civil War: LXD vs Docker
 
OpenNebula 5.0 Highlights - Rubén S. Montero
OpenNebula 5.0 Highlights - Rubén S. MonteroOpenNebula 5.0 Highlights - Rubén S. Montero
OpenNebula 5.0 Highlights - Rubén S. Montero
 
OpenNebula TechDay Waterloo 2015 - An Introduction to OpenNebula
OpenNebula TechDay Waterloo 2015 - An Introduction to OpenNebulaOpenNebula TechDay Waterloo 2015 - An Introduction to OpenNebula
OpenNebula TechDay Waterloo 2015 - An Introduction to OpenNebula
 
OpenNebula TechDay Waterloo 2015 - Private cloud at black berry
OpenNebula TechDay Waterloo 2015 - Private cloud at black berryOpenNebula TechDay Waterloo 2015 - Private cloud at black berry
OpenNebula TechDay Waterloo 2015 - Private cloud at black berry
 
OpenNebula Conf 2014 | OpenNebula as Open Replacement of vCloud by Javier Fontan
OpenNebula Conf 2014 | OpenNebula as Open Replacement of vCloud by Javier FontanOpenNebula Conf 2014 | OpenNebula as Open Replacement of vCloud by Javier Fontan
OpenNebula Conf 2014 | OpenNebula as Open Replacement of vCloud by Javier Fontan
 
OpenNebula is Evolving... Fast! - Jaime Melis
OpenNebula is Evolving... Fast! - Jaime MelisOpenNebula is Evolving... Fast! - Jaime Melis
OpenNebula is Evolving... Fast! - Jaime Melis
 
OpenNebulaconf2017US: Paying down technical debt with "one" dollar bills by ...
OpenNebulaconf2017US:  Paying down technical debt with "one" dollar bills by ...OpenNebulaconf2017US:  Paying down technical debt with "one" dollar bills by ...
OpenNebulaconf2017US: Paying down technical debt with "one" dollar bills by ...
 
OpenNebula TechDay Boston 2015 - installing and basic usage
OpenNebula TechDay Boston 2015 - installing and basic usageOpenNebula TechDay Boston 2015 - installing and basic usage
OpenNebula TechDay Boston 2015 - installing and basic usage
 
TechDay - Toronto 2016 - OpenNebula @ Fuze
TechDay - Toronto 2016 - OpenNebula @ FuzeTechDay - Toronto 2016 - OpenNebula @ Fuze
TechDay - Toronto 2016 - OpenNebula @ Fuze
 
OpenNebula TechDay Boston 2015 - introduction and architecture
OpenNebula TechDay Boston 2015 - introduction and architectureOpenNebula TechDay Boston 2015 - introduction and architecture
OpenNebula TechDay Boston 2015 - introduction and architecture
 
OpenNebula Networking - Rubén S. Montero
OpenNebula Networking - Rubén S. MonteroOpenNebula Networking - Rubén S. Montero
OpenNebula Networking - Rubén S. Montero
 
OpenNebula Conf 2014 | Cloud Automation for OpenNebula by Kishorekumar Neelam...
OpenNebula Conf 2014 | Cloud Automation for OpenNebula by Kishorekumar Neelam...OpenNebula Conf 2014 | Cloud Automation for OpenNebula by Kishorekumar Neelam...
OpenNebula Conf 2014 | Cloud Automation for OpenNebula by Kishorekumar Neelam...
 
TechDay - April - OpenNebula and Docker
TechDay - April - OpenNebula and DockerTechDay - April - OpenNebula and Docker
TechDay - April - OpenNebula and Docker
 
OpenNebula TechDay Boston 2015 - An introduction to OpenNebula
OpenNebula TechDay Boston 2015 - An introduction to OpenNebulaOpenNebula TechDay Boston 2015 - An introduction to OpenNebula
OpenNebula TechDay Boston 2015 - An introduction to OpenNebula
 
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshopOpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
 
OpenNebula - The Project
OpenNebula - The ProjectOpenNebula - The Project
OpenNebula - The Project
 
OpenNebula - Key Aspects in CentOS
OpenNebula - Key Aspects in CentOSOpenNebula - Key Aspects in CentOS
OpenNebula - Key Aspects in CentOS
 
TechDay - April - Introduction to OpenNebula
TechDay - April - Introduction to OpenNebulaTechDay - April - Introduction to OpenNebula
TechDay - April - Introduction to OpenNebula
 
Docker Machine and Swarm on OpenNebula - Jaime Melis
Docker Machine and Swarm on OpenNebula - Jaime MelisDocker Machine and Swarm on OpenNebula - Jaime Melis
Docker Machine and Swarm on OpenNebula - Jaime Melis
 
OpenNebulaconf2017US: Multi-Site Hyperconverged OpenNebula with DRBD9
OpenNebulaconf2017US: Multi-Site Hyperconverged OpenNebula with DRBD9OpenNebulaconf2017US: Multi-Site Hyperconverged OpenNebula with DRBD9
OpenNebulaconf2017US: Multi-Site Hyperconverged OpenNebula with DRBD9
 

Similaire à OpenNebulaconf2017US: Using docker with OpenNebula by Jaime Melis, OpenNebula

OpenNebulaConf 2014 - OpenNebula as Open Replacement of vCloud - Javier Fontan
OpenNebulaConf 2014 - OpenNebula as Open Replacement of vCloud - Javier FontanOpenNebulaConf 2014 - OpenNebula as Open Replacement of vCloud - Javier Fontan
OpenNebulaConf 2014 - OpenNebula as Open Replacement of vCloud - Javier Fontan
OpenNebula Project
 

Similaire à OpenNebulaconf2017US: Using docker with OpenNebula by Jaime Melis, OpenNebula (20)

Docker on Power Systems
Docker on Power SystemsDocker on Power Systems
Docker on Power Systems
 
OpenNebulaConf2015 2.03 Docker-Machine and OpenNebula - Jaime Melis
OpenNebulaConf2015 2.03 Docker-Machine and OpenNebula - Jaime MelisOpenNebulaConf2015 2.03 Docker-Machine and OpenNebula - Jaime Melis
OpenNebulaConf2015 2.03 Docker-Machine and OpenNebula - Jaime Melis
 
DOCKER-PIAIC-SLIDES
DOCKER-PIAIC-SLIDESDOCKER-PIAIC-SLIDES
DOCKER-PIAIC-SLIDES
 
Docker+java
Docker+javaDocker+java
Docker+java
 
Docker up and Running For Web Developers
Docker up and Running For Web DevelopersDocker up and Running For Web Developers
Docker up and Running For Web Developers
 
Docker Up and Running for Web Developers
Docker Up and Running for Web DevelopersDocker Up and Running for Web Developers
Docker Up and Running for Web Developers
 
Docker Intro
Docker IntroDocker Intro
Docker Intro
 
Docker primer and tips
Docker primer and tipsDocker primer and tips
Docker primer and tips
 
Adventures in docker compose
Adventures in docker composeAdventures in docker compose
Adventures in docker compose
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
Dockerized maven
Dockerized mavenDockerized maven
Dockerized maven
 
Docker-machine
Docker-machineDocker-machine
Docker-machine
 
Testing fácil con Docker: Gestiona dependencias y unifica entornos
Testing fácil con Docker: Gestiona dependencias y unifica entornosTesting fácil con Docker: Gestiona dependencias y unifica entornos
Testing fácil con Docker: Gestiona dependencias y unifica entornos
 
Docker in everyday development
Docker in everyday developmentDocker in everyday development
Docker in everyday development
 
vodQA(Pune) 2018 - Docker in Testing
vodQA(Pune) 2018 - Docker in TestingvodQA(Pune) 2018 - Docker in Testing
vodQA(Pune) 2018 - Docker in Testing
 
OpenNebulaConf 2014 - OpenNebula as Open Replacement of vCloud - Javier Fontan
OpenNebulaConf 2014 - OpenNebula as Open Replacement of vCloud - Javier FontanOpenNebulaConf 2014 - OpenNebula as Open Replacement of vCloud - Javier Fontan
OpenNebulaConf 2014 - OpenNebula as Open Replacement of vCloud - Javier Fontan
 
Scalable Spark deployment using Kubernetes
Scalable Spark deployment using KubernetesScalable Spark deployment using Kubernetes
Scalable Spark deployment using Kubernetes
 
Cicd.pdf
Cicd.pdfCicd.pdf
Cicd.pdf
 
The Docker Ecosystem
The Docker EcosystemThe Docker Ecosystem
The Docker Ecosystem
 
Тарас Кирилюк — Docker basics. How-to for Drupal developers
Тарас Кирилюк — Docker basics. How-to for Drupal developersТарас Кирилюк — Docker basics. How-to for Drupal developers
Тарас Кирилюк — Docker basics. How-to for Drupal developers
 

Plus de OpenNebula Project

OpenNebulaConf2019 - Building Virtual Environments for Security Analyses of C...
OpenNebulaConf2019 - Building Virtual Environments for Security Analyses of C...OpenNebulaConf2019 - Building Virtual Environments for Security Analyses of C...
OpenNebulaConf2019 - Building Virtual Environments for Security Analyses of C...
OpenNebula Project
 

Plus de OpenNebula Project (20)

OpenNebulaConf2019 - Welcome and Project Update - Ignacio M. Llorente, Rubén ...
OpenNebulaConf2019 - Welcome and Project Update - Ignacio M. Llorente, Rubén ...OpenNebulaConf2019 - Welcome and Project Update - Ignacio M. Llorente, Rubén ...
OpenNebulaConf2019 - Welcome and Project Update - Ignacio M. Llorente, Rubén ...
 
OpenNebulaConf2019 - Building Virtual Environments for Security Analyses of C...
OpenNebulaConf2019 - Building Virtual Environments for Security Analyses of C...OpenNebulaConf2019 - Building Virtual Environments for Security Analyses of C...
OpenNebulaConf2019 - Building Virtual Environments for Security Analyses of C...
 
OpenNebulaConf2019 - CORD and Edge computing with OpenNebula - Alfonso Aureli...
OpenNebulaConf2019 - CORD and Edge computing with OpenNebula - Alfonso Aureli...OpenNebulaConf2019 - CORD and Edge computing with OpenNebula - Alfonso Aureli...
OpenNebulaConf2019 - CORD and Edge computing with OpenNebula - Alfonso Aureli...
 
OpenNebulaConf2019 - 6 years (+) OpenNebula - Lessons learned - Sebastian Man...
OpenNebulaConf2019 - 6 years (+) OpenNebula - Lessons learned - Sebastian Man...OpenNebulaConf2019 - 6 years (+) OpenNebula - Lessons learned - Sebastian Man...
OpenNebulaConf2019 - 6 years (+) OpenNebula - Lessons learned - Sebastian Man...
 
OpenNebulaConf2019 - Performant and Resilient Storage the Open Source & Linux...
OpenNebulaConf2019 - Performant and Resilient Storage the Open Source & Linux...OpenNebulaConf2019 - Performant and Resilient Storage the Open Source & Linux...
OpenNebulaConf2019 - Performant and Resilient Storage the Open Source & Linux...
 
OpenNebulaConf2019 - Image Backups in OpenNebula - Momčilo Medić - ITAF
OpenNebulaConf2019 - Image Backups in OpenNebula - Momčilo Medić - ITAFOpenNebulaConf2019 - Image Backups in OpenNebula - Momčilo Medić - ITAF
OpenNebulaConf2019 - Image Backups in OpenNebula - Momčilo Medić - ITAF
 
OpenNebulaConf2019 - How We Use GOCA to Manage our OpenNebula Cloud - Jean-Ph...
OpenNebulaConf2019 - How We Use GOCA to Manage our OpenNebula Cloud - Jean-Ph...OpenNebulaConf2019 - How We Use GOCA to Manage our OpenNebula Cloud - Jean-Ph...
OpenNebulaConf2019 - How We Use GOCA to Manage our OpenNebula Cloud - Jean-Ph...
 
OpenNebulaConf2019 - Crytek: A Video gaming Edge Implementation "on the shoul...
OpenNebulaConf2019 - Crytek: A Video gaming Edge Implementation "on the shoul...OpenNebulaConf2019 - Crytek: A Video gaming Edge Implementation "on the shoul...
OpenNebulaConf2019 - Crytek: A Video gaming Edge Implementation "on the shoul...
 
Replacing vCloud with OpenNebula
Replacing vCloud with OpenNebulaReplacing vCloud with OpenNebula
Replacing vCloud with OpenNebula
 
NTS: What We Do With OpenNebula - and Why We Do It
NTS: What We Do With OpenNebula - and Why We Do ItNTS: What We Do With OpenNebula - and Why We Do It
NTS: What We Do With OpenNebula - and Why We Do It
 
OpenNebula from the Perspective of an ISP
OpenNebula from the Perspective of an ISPOpenNebula from the Perspective of an ISP
OpenNebula from the Perspective of an ISP
 
NTS CAPTAIN / OpenNebula at Julius Blum GmbH
NTS CAPTAIN / OpenNebula at Julius Blum GmbHNTS CAPTAIN / OpenNebula at Julius Blum GmbH
NTS CAPTAIN / OpenNebula at Julius Blum GmbH
 
Performant and Resilient Storage: The Open Source & Linux Way
Performant and Resilient Storage: The Open Source & Linux WayPerformant and Resilient Storage: The Open Source & Linux Way
Performant and Resilient Storage: The Open Source & Linux Way
 
NetApp Hybrid Cloud with OpenNebula
NetApp Hybrid Cloud with OpenNebulaNetApp Hybrid Cloud with OpenNebula
NetApp Hybrid Cloud with OpenNebula
 
NSX with OpenNebula - upcoming 5.10
NSX with OpenNebula - upcoming 5.10NSX with OpenNebula - upcoming 5.10
NSX with OpenNebula - upcoming 5.10
 
Security for Private Cloud Environments
Security for Private Cloud EnvironmentsSecurity for Private Cloud Environments
Security for Private Cloud Environments
 
CheckPoint R80.30 Installation on OpenNebula
CheckPoint R80.30 Installation on OpenNebulaCheckPoint R80.30 Installation on OpenNebula
CheckPoint R80.30 Installation on OpenNebula
 
DE-CIX: CloudConnectivity
DE-CIX: CloudConnectivityDE-CIX: CloudConnectivity
DE-CIX: CloudConnectivity
 
DDC Demo
DDC DemoDDC Demo
DDC Demo
 
Cloud Disaggregation with OpenNebula
Cloud Disaggregation with OpenNebulaCloud Disaggregation with OpenNebula
Cloud Disaggregation with OpenNebula
 

Dernier

Dernier (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 

OpenNebulaconf2017US: Using docker with OpenNebula by Jaime Melis, OpenNebula

  • 1. Jaime Melis OpenNebula Systems Infrastructure Engineer @j_melis jmelis@opennebula.org OpenNebula and Docker
  • 6. Docker and OpenNebula Virtual Machine Docker Host Virtual Machine Docker Host
  • 7. © OpenNebula Systems SL Developer ● Docker workflow ● Doesn't know the underlying infrastructure Devops ● Needs "infinite" or "cloud" resources ● Uses VMs to deploy Dockers ○ Better control, security ○ Leverage virtualization technologies ● Multi-tenancy layer Docker and OpenNebula
  • 8. © OpenNebula Systems SL Deploy a Docker Host in OpenNebula Docker Machine
  • 9. © OpenNebula Systems SL Docker-Machine Purpose Docker Client Public Cloud Docker Machine
  • 10. © OpenNebula Systems SL Lightweight Linux distribution based on Tiny Core Linux made specifically to run Docker containers. http://boot2docker.io Boot2Docker
  • 11. © OpenNebula Systems SL Docker-Machine + OpenNebula - Requirements Requirements ● Desktop/Laptop access to OpenNebula CLI ● Image for Docker Engine ● Install Docker Machine ● Install OpenNebula Docker Machine driver plugin: https://github.com/OpenNebula/docker-machine-opennebula
  • 12. Docker-Machine + OpenNebula - You can try it out Demo https://github.com/OpenNebula/ docker-machine-opennebula
  • 13. © OpenNebula Systems SL Docker-Machine + OpenNebula - Usage I/II Usage ● --opennebula-template-name: Name of the Template ● --opennebula-template-id: ID of the Template to use ● --opennebula-cpu: CPU value for the VM ● --opennebula-dev-prefix: Dev prefix to use for the images: 'vd', 'sd', ● --opennebula-disk-resize: Size of disk for VM in MB ● --opennebula-image-id: Image ID to use as the OS ● --opennebula-image-name: Image to use as the OS ● --opennebula-image-owner: Owner of the image to use as the OS ● --opennebula-memory: Size of memory for VM in MB
  • 14. © OpenNebula Systems SL Docker-Machine + OpenNebula - Usage II/II Usage (cont.) ● --opennebula-network-id: Network ID to connect the machine to ● --opennebula-network-name: Network to connect the machine to ● --opennebula-network-: User ID of the Network to connect the machine to ● --opennebula-ssh-user: Set the name of the SSH user ● --opennebula-vcpu: VCPUs for the VM ● --opennebula-disable-vnc: VNC is enabled by default. ● --opennebula-b2d-size: Size of the Volatile disk in MB (only for b2d)
  • 15. © OpenNebula Systems SL OneFlow + Docker - Overview Docker Swarm Cluster of docker containers Elasticity policy managed by OneFlow
  • 16. © OpenNebula Systems SL OneFlow + Docker - Understand
  • 17. © OpenNebula Systems SL Rancher Simple, easy-to-use container management DEMO
  • 18. © OpenNebula Systems SL Docker Machine & OpenNebula If it supports Then it supports
  • 19. © OpenNebula Systems SL Third Party Integrations OneDock: Docker support for OpenNebula This project intends to provide support for OpenNebula to create Docker containers and deliver them to the end user as if they were Virtual Machines. https://github.com/indigo-dc/onedock
  • 20. © OpenNebula Systems SL Third Party Integrations LXDOne: Docker support for OpenNebula LXDoNe is an addon for OpenNebula to manage LXD Containers. It fits in the Virtualization and Monitorization Driver section according to OpenNebula's Architecture. https://github.com/OpenNebula/addon-lxdone
  • 21. © OpenNebula Systems SL Third Party Integrations Corona: Distribute OpenNebula in Docker containers CORONA is a containerized OpenNebula deployment. The primary goal is to build a OpenNebula deployment which can easily be rolled out or rolled back. At the moment the plan is to split the services into 3 containers libvirt, onenode, and oneserver. https://github.com/fasrc/corona