Docker Machine and Swarm on
OpenNebula
Javi Fontán
OpenNebula Project Engineer
© OpenNebula Project. Creative Commons Attribution-NonCommercial-ShareAlike License
Docker and OpenNebula
+
© OpenNebula Systems SL
#1 - Docker Hypervisor
Docker as a Hypervisor
OpenNebula VM ⇔ Docker…
But, what happens with the Docker Catalog?
3
© OpenNebula Systems SL
#2 - Distribute OpenNebula in Docker
Distribute OpenNebula in Docker
Solves many packaging problems...
But it creates a lot of new ones!
4
© OpenNebula Systems SL
#3 - Docker-Machine + OpenNebula
Integrate with Docker-Machine
Use OpenNebula transparently to deploy your
Docker host.
Switch between your docker hosts.
5
© OpenNebula Systems SL
#3 - Docker-Machine + OpenNebula - Understand
Docker-Machine Purpose
6
Docker Client
Public Cloud
© OpenNebula Systems SL
#3 - Docker-Machine + OpenNebula - Images
Boot2Docker
Lightweight Linux distribution based on Tiny
Core Linux made specifically to run Docker
containers.
http://boot2docker.io
7
© OpenNebula Systems SL
#3 - Docker-Machine + OpenNebula - Requirements
Requirements
● Desktop/Laptop access to OpenNebula CLI
● Image for Docker Engine
○ https://github.com/docker/machine/blob/master/docs/drivers/os-
base.md
○ http://docs.opennebula.
org/stable/user/virtual_machine_setup/bcont.html
● Network for the Docker Engines
● Install Docker Machine
● Install OpenNebula Docker Machine driver plugin:
○ https://github.com/OpenNebula/docker-machine-
opennebula/blob/master/README.md
8
#3 - Docker-Machine + OpenNebula - You can try it out
Demo
https://github.com/OpenNebula/
docker-machine-opennebula
© OpenNebula Systems SL
#3 - 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
10
© OpenNebula Systems SL
#3 - 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)
11
© OpenNebula Systems SL
#4 - OneFlow + Docker - Overview
Docker Swarm
Cluster of docker containers
Elasticity policy managed by OneFlow
12
© OpenNebula Systems SL
#4 - OneFlow + Docker - Understand
13
© OpenNebula Systems SL
#4 - OneFlow + Docker - Demo
Demo Docker Swarm
14
© OpenNebula Systems SL
Summary
1. Docker as a hypervisor ⇒ NO
2. Distribute OpenNebula in Docker ⇒ NO
3. Integrate with Docker-Machine ⇒ YES
4. OneFlow + Docker ⇒ WIP
15
© OpenNebula Systems SL
What do you think?
16
?
What integration did you have in mind?
How do you use docker and how do you envision
its integration with OpenNebula?
Is there any other you-should-absolutely-integrate-
with-this-project we are missing?
25 - 27 October 2016
in BARCELONA
OpenNebulaCONFERENCE
4th
edition
OpenNebula.org
Platinum Sponsor

More Related Content

PPTX
Docker Machine and Swarm on OpenNebula - Jaime Melis
PDF
OpenNebulaConf2015 2.03 Docker-Machine and OpenNebula - Jaime Melis
PDF
TechDay - Cambridge 2016 - OpenNebula at Harvard Univerity
PDF
TechDay - April - Customizing VM Images
PDF
Customizing Virtual Machine Images - Javier Fontán
PDF
OpenNebula is Evolving... Fast! - Jaime Melis
PDF
TechDay - Toronto 2016 - OpenNebula @ Fuze
PDF
OpenNebulaConf 2016 - Storage Hands-on Workshop by Javier Fontán, OpenNebula
Docker Machine and Swarm on OpenNebula - Jaime Melis
OpenNebulaConf2015 2.03 Docker-Machine and OpenNebula - Jaime Melis
TechDay - Cambridge 2016 - OpenNebula at Harvard Univerity
TechDay - April - Customizing VM Images
Customizing Virtual Machine Images - Javier Fontán
OpenNebula is Evolving... Fast! - Jaime Melis
TechDay - Toronto 2016 - OpenNebula @ Fuze
OpenNebulaConf 2016 - Storage Hands-on Workshop by Javier Fontán, OpenNebula

What's hot (20)

PDF
Mi-ROSS Reliable Object Storage System For Software Defined Storage and Cloud
PDF
OpenNebulaConf 2013 - Hands-on Tutorial: 2. Installing and Basic Usage
PDF
OpenNebulaconf2017US: Multi-Site Hyperconverged OpenNebula with DRBD9
PDF
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
PDF
OpenNebula - OpenNebula and tips for CentOS 7
PDF
TechDay - April - Introduction to OpenNebula
PDF
OpenNebulaConf 2013 - Hands-on Tutorial: 1. Introduction and Architecture
PPTX
OpenNebula Networking - Rubén S. Montero
PDF
OpenNebula Conf 2014 | OpenNebula as Open Replacement of vCloud by Javier Fontan
PDF
OpenNebula Conf 2014 | Lightning talk: Proactive Autonomic Management Feature...
PDF
OpenNebula TechDay Waterloo 2015 - OpenNebula is Evolving Fast
PDF
OpenNebula 4.14 Hands-on Tutorial
PDF
OpenNebula 5.0 Highlights - Rubén S. Montero
PDF
OpenNebula 5.4 Enhancements vCenter Integration
PPTX
TECNIRIS@: OpenNebula Tutorial
PDF
OpenNebulaConf 2016 - ONEDock: Docker as a hypervisor in ONE by Carlos de Alf...
PDF
OpenNebula Conf 2014 | Building Hybrid Cloud Federated Environments with Open...
PDF
OpenNebula - Key Aspects in CentOS
PDF
OpenNebula Conf 2014 | Cloud Automation for OpenNebula by Kishorekumar Neelam...
PDF
OpenNebulaconf2017US: Using docker with OpenNebula by Jaime Melis, OpenNebula
Mi-ROSS Reliable Object Storage System For Software Defined Storage and Cloud
OpenNebulaConf 2013 - Hands-on Tutorial: 2. Installing and Basic Usage
OpenNebulaconf2017US: Multi-Site Hyperconverged OpenNebula with DRBD9
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
OpenNebula - OpenNebula and tips for CentOS 7
TechDay - April - Introduction to OpenNebula
OpenNebulaConf 2013 - Hands-on Tutorial: 1. Introduction and Architecture
OpenNebula Networking - Rubén S. Montero
OpenNebula Conf 2014 | OpenNebula as Open Replacement of vCloud by Javier Fontan
OpenNebula Conf 2014 | Lightning talk: Proactive Autonomic Management Feature...
OpenNebula TechDay Waterloo 2015 - OpenNebula is Evolving Fast
OpenNebula 4.14 Hands-on Tutorial
OpenNebula 5.0 Highlights - Rubén S. Montero
OpenNebula 5.4 Enhancements vCenter Integration
TECNIRIS@: OpenNebula Tutorial
OpenNebulaConf 2016 - ONEDock: Docker as a hypervisor in ONE by Carlos de Alf...
OpenNebula Conf 2014 | Building Hybrid Cloud Federated Environments with Open...
OpenNebula - Key Aspects in CentOS
OpenNebula Conf 2014 | Cloud Automation for OpenNebula by Kishorekumar Neelam...
OpenNebulaconf2017US: Using docker with OpenNebula by Jaime Melis, OpenNebula
Ad

Viewers also liked (20)

PDF
TechDay - April - Tutorial
PDF
TechDay - Cambridge 2016 - OpenNebula Corona
PDF
TechDay - Cambridge 2016 - OpenNebula at Knight Point Systems
PDF
Introduction to OpenNebula - Ignacio M. Llorente
PPTX
Customizing Sunstone Provisioning and Admin Portal - Daniel Molina
PDF
Jenkins & OpenNebula a CD History - Alberto García
PDF
Clash of Titans in SDN: OpenDaylight vs ONOS - Elisa Rojas
PDF
OpenNebula TechDay Boston 2015 - HA HPC with OpenNebula
PDF
OpenNebula TechDay Boston 2015 - introduction and architecture
PDF
OpenNebula TechDay Boston 2015 - Bringing Private Cloud Computing to HPC and ...
PDF
OpenNebula TechDay Boston 2015 - Hyperconvergence and OpenNebula
PDF
OpenNebula TechDay Boston 2015 - An introduction to OpenNebula
PDF
OpenNebula TechDay Boston 2015 - Future of Information Storage with ISS Super...
PDF
OpenNebula TechDay Boston 2015 - installing and basic usage
DOCX
Open stack vs open nebula
PDF
Déploiement pour l’hébergement d’architecture cliente et mise en place du Sel...
PDF
TechDay - Toronto 2016 - C151 Data Centers Introduction
PDF
OpenNebulaConf 2016 - OpenNebula, OpenNebulaConf, OpenNebulaConf 2016
PDF
OpenNebulaConf 2016 - MICHAL - flexible infrastructure accounting framework b...
PDF
OpenNebulaConf 2016 - Budgeting: the Ugly Duckling of Cloud computing? by Mat...
TechDay - April - Tutorial
TechDay - Cambridge 2016 - OpenNebula Corona
TechDay - Cambridge 2016 - OpenNebula at Knight Point Systems
Introduction to OpenNebula - Ignacio M. Llorente
Customizing Sunstone Provisioning and Admin Portal - Daniel Molina
Jenkins & OpenNebula a CD History - Alberto García
Clash of Titans in SDN: OpenDaylight vs ONOS - Elisa Rojas
OpenNebula TechDay Boston 2015 - HA HPC with OpenNebula
OpenNebula TechDay Boston 2015 - introduction and architecture
OpenNebula TechDay Boston 2015 - Bringing Private Cloud Computing to HPC and ...
OpenNebula TechDay Boston 2015 - Hyperconvergence and OpenNebula
OpenNebula TechDay Boston 2015 - An introduction to OpenNebula
OpenNebula TechDay Boston 2015 - Future of Information Storage with ISS Super...
OpenNebula TechDay Boston 2015 - installing and basic usage
Open stack vs open nebula
Déploiement pour l’hébergement d’architecture cliente et mise en place du Sel...
TechDay - Toronto 2016 - C151 Data Centers Introduction
OpenNebulaConf 2016 - OpenNebula, OpenNebulaConf, OpenNebulaConf 2016
OpenNebulaConf 2016 - MICHAL - flexible infrastructure accounting framework b...
OpenNebulaConf 2016 - Budgeting: the Ugly Duckling of Cloud computing? by Mat...
Ad

Similar to TechDay - April - OpenNebula and Docker (20)

PDF
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
PDF
Deploying OpenNebula in an HPC environment
PDF
Deploying OpenNebula in an HPC environment
PPTX
Cloud using opennebulla for research work.pptx
PDF
PDF
E um passo a passo para introdução ao OpenNebula
PDF
PDF
OSDC 2012 | OpenNebula Tutorial by Constantino Vazquez Blanco
PDF
DockerDay2015: Docker orchestration for sysadmin
PDF
OpenNebula Conf: 2014 | Lightning talk: Managing Docker Containers with OpenN...
PDF
OpenNebulaConf 2014 - Lightning talk: Managing Docker Containers with OpenNeb...
PDF
OSDC 2013 | The OpenNebula Cloud Platform for Datacenter Virtualization by Co...
PDF
Clustering with Docker Swarm - Dockerops 2016 @ Cento (FE) Italy
PPTX
Introducing & playing with Docker | Manel Martinez | 1st Docker Crete Meetup
PDF
OpenNebula 5.4 Hands-on Tutorial
PDF
OpenNebulaconf2017US: Paying down technical debt with "one" dollar bills by ...
PDF
Nebulaworks Docker Overview 09-22-2015
PDF
nebulaconf
PPTX
On Docker and its use for LHC at CERN
PDF
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
Deploying OpenNebula in an HPC environment
Deploying OpenNebula in an HPC environment
Cloud using opennebulla for research work.pptx
E um passo a passo para introdução ao OpenNebula
OSDC 2012 | OpenNebula Tutorial by Constantino Vazquez Blanco
DockerDay2015: Docker orchestration for sysadmin
OpenNebula Conf: 2014 | Lightning talk: Managing Docker Containers with OpenN...
OpenNebulaConf 2014 - Lightning talk: Managing Docker Containers with OpenNeb...
OSDC 2013 | The OpenNebula Cloud Platform for Datacenter Virtualization by Co...
Clustering with Docker Swarm - Dockerops 2016 @ Cento (FE) Italy
Introducing & playing with Docker | Manel Martinez | 1st Docker Crete Meetup
OpenNebula 5.4 Hands-on Tutorial
OpenNebulaconf2017US: Paying down technical debt with "one" dollar bills by ...
Nebulaworks Docker Overview 09-22-2015
nebulaconf
On Docker and its use for LHC at CERN

More from OpenNebula Project (20)

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

Recently uploaded (20)

PDF
Build Real-Time ML Apps with Python, Feast & NoSQL
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
PDF
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
PDF
EIS-Webinar-Regulated-Industries-2025-08.pdf
PDF
Decision Optimization - From Theory to Practice
PDF
Human Computer Interaction Miterm Lesson
PDF
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
PDF
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
Introduction to MCP and A2A Protocols: Enabling Agent Communication
PDF
Ensemble model-based arrhythmia classification with local interpretable model...
PDF
SaaS reusability assessment using machine learning techniques
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PDF
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
PDF
Examining Bias in AI Generated News Content.pdf
PDF
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
PDF
giants, standing on the shoulders of - by Daniel Stenberg
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
substrate PowerPoint Presentation basic one
Build Real-Time ML Apps with Python, Feast & NoSQL
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
EIS-Webinar-Regulated-Industries-2025-08.pdf
Decision Optimization - From Theory to Practice
Human Computer Interaction Miterm Lesson
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
Introduction to MCP and A2A Protocols: Enabling Agent Communication
Ensemble model-based arrhythmia classification with local interpretable model...
SaaS reusability assessment using machine learning techniques
Early detection and classification of bone marrow changes in lumbar vertebrae...
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
Examining Bias in AI Generated News Content.pdf
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
giants, standing on the shoulders of - by Daniel Stenberg
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
substrate PowerPoint Presentation basic one

TechDay - April - OpenNebula and Docker

  • 1. Docker Machine and Swarm on OpenNebula Javi Fontán OpenNebula Project Engineer © OpenNebula Project. Creative Commons Attribution-NonCommercial-ShareAlike License
  • 3. © OpenNebula Systems SL #1 - Docker Hypervisor Docker as a Hypervisor OpenNebula VM ⇔ Docker… But, what happens with the Docker Catalog? 3
  • 4. © OpenNebula Systems SL #2 - Distribute OpenNebula in Docker Distribute OpenNebula in Docker Solves many packaging problems... But it creates a lot of new ones! 4
  • 5. © OpenNebula Systems SL #3 - Docker-Machine + OpenNebula Integrate with Docker-Machine Use OpenNebula transparently to deploy your Docker host. Switch between your docker hosts. 5
  • 6. © OpenNebula Systems SL #3 - Docker-Machine + OpenNebula - Understand Docker-Machine Purpose 6 Docker Client Public Cloud
  • 7. © OpenNebula Systems SL #3 - Docker-Machine + OpenNebula - Images Boot2Docker Lightweight Linux distribution based on Tiny Core Linux made specifically to run Docker containers. http://boot2docker.io 7
  • 8. © OpenNebula Systems SL #3 - Docker-Machine + OpenNebula - Requirements Requirements ● Desktop/Laptop access to OpenNebula CLI ● Image for Docker Engine ○ https://github.com/docker/machine/blob/master/docs/drivers/os- base.md ○ http://docs.opennebula. org/stable/user/virtual_machine_setup/bcont.html ● Network for the Docker Engines ● Install Docker Machine ● Install OpenNebula Docker Machine driver plugin: ○ https://github.com/OpenNebula/docker-machine- opennebula/blob/master/README.md 8
  • 9. #3 - Docker-Machine + OpenNebula - You can try it out Demo https://github.com/OpenNebula/ docker-machine-opennebula
  • 10. © OpenNebula Systems SL #3 - 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 10
  • 11. © OpenNebula Systems SL #3 - 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) 11
  • 12. © OpenNebula Systems SL #4 - OneFlow + Docker - Overview Docker Swarm Cluster of docker containers Elasticity policy managed by OneFlow 12
  • 13. © OpenNebula Systems SL #4 - OneFlow + Docker - Understand 13
  • 14. © OpenNebula Systems SL #4 - OneFlow + Docker - Demo Demo Docker Swarm 14
  • 15. © OpenNebula Systems SL Summary 1. Docker as a hypervisor ⇒ NO 2. Distribute OpenNebula in Docker ⇒ NO 3. Integrate with Docker-Machine ⇒ YES 4. OneFlow + Docker ⇒ WIP 15
  • 16. © OpenNebula Systems SL What do you think? 16 ? What integration did you have in mind? How do you use docker and how do you envision its integration with OpenNebula? Is there any other you-should-absolutely-integrate- with-this-project we are missing?
  • 17. 25 - 27 October 2016 in BARCELONA OpenNebulaCONFERENCE 4th edition OpenNebula.org Platinum Sponsor