Managing Docker Containers with OpenNebula 
Marco Mancini, Ph.D. 
Scientific Computing & Operations Division 
marco.mancini@cmcc.it 
OpenNebula Conference 2014 
Berlin, 2-4/12/2014
About CMCC & SCO 
●CMCC is a non-profit research Institution 
●Established in 2005, with the financial support of the Italian Ministry of Education, University and Research, the Ministry of the Environment, Land and Sea and the Ministry of Economy 
●CMCC manages and promotes scientific and applied activities in the field of international climate change research 
●CMCC involves and links private and public institutions, jointly investigating multidisciplinary topics related to climate science research 
Scientific Computing & Operations 
●Scientific Data Management 
●High End Computing 
●High Performance Computing System Management Current Cloud Computing Activities at SCO 
●Big Data analytics framework for eScience (OPHIDIA) to study Climate change and biodiversity (EUBrazilCC project (2014-2016), Ignacio Blanquer, UPV (Spain), Francisco Brasileiro, UFCG, Brasil) 
●Different deployment scenarios using OpenNebula
Proposed feature/activity 
Dockerfile: recipe to build a container 
Execution is fast and lightweight: 
processes are isolated but ran straight on the host, CPU, memory, network and disk/io performance almost equal to native performance 
Containers: lightweight VMs 
Own process space 
Own network space 
Can run stuff as root 
Can have its own /sbin/init 
Image: basis for the container 
Docker Engine: 
Commoditize LXC 
Uses copy-on-write for quick provisioning 
Runs as a daemon 
Interaction with CLI and REST API 
Registry: share/store images 
Integration of Docker containers into OpenNebula Use Case: OneFlow for quick provisioning and dynamic scaling of OPHIDIA 
Docker: Build, Ship and Run Any App, Anywhere 
●Package your application in a container 
●Move the container from one machine to another 
●Execute that container anywhere 
Docker Components 
Data Volume: persistent and/or shared data
Managing Docker Containers with OpenNebula 
OpenNebula as an Orchestrator of VM and Containers 
An Host can provide both VMs and Containers (e.g. KVM + docker engine) 
Security 
Networking (#8951, #8952, #8997) 
Remote/Shared Volumes &Mgmt (#7249, #8484, #8854) 
Monitoring Containers 
Shared Volumes between containers (--volumes-from) 
Linking containers (--link) 
Datastore (Images) 
Docker Registry 
Datastore (Data Volumes) 
CEPH 
Transfer Manager 
docker pull/push 
Information Manager 
docker inspect 
VM Manager 
docker run (deploy) 
docker import/export (migrate) 
docker stop 
docker rm (delete) 
CPU="1” MEMORY="256" SOURCE="docker://webserver:1.0" VOLUME=["/var/www"] PORT=80 NETWORK=“docker0” 
Template 
Mount a CEPH Data Volume 
rbd create –p one one-${VID} --size ${VSIZE} 
rbd map one-${VID} 
mkdir ${HDIR}/${VMID}/volume.${VID} 
mkfs –t ${TYPEFS} $DEV 
mount $DEV ${HDIR}/${VMID}/volume.${VID} 
Deploy a Docker container 
docker run -d -v ${HDIR}/${VMID}/disk.${VID}:/var/www -p 80 --name one-${VMID} -c 1 -m 256m webserver:1.0
Thank you.

More Related Content

PDF
On-node resource manager for containerized HPC workloads
PDF
Monitoring your shiny new docker environment
PDF
Docker Introduction - DevOps Montreal Meetup
PDF
GitOps (& Flux) for Helm Users with Scott Rigby
PDF
Introduction to the Moby Project
PDF
OpenStack und Containers
PPTX
BDE SC4 Hangout - Hajira Jabeen, general architecture
ODP
Proteon - DevOps Live 2019 - OpenShift Pitfalls
On-node resource manager for containerized HPC workloads
Monitoring your shiny new docker environment
Docker Introduction - DevOps Montreal Meetup
GitOps (& Flux) for Helm Users with Scott Rigby
Introduction to the Moby Project
OpenStack und Containers
BDE SC4 Hangout - Hajira Jabeen, general architecture
Proteon - DevOps Live 2019 - OpenShift Pitfalls

Similar to OpenNebulaConf 2014 - Lightning talk: Managing Docker Containers with OpenNebula - Marco Mancini (20)

PDF
OpenNebulaconf2017US: Using docker with OpenNebula by Jaime Melis, OpenNebula
PDF
OpenNebula LXD Overview
PDF
OpenNebula LXD Container Support overview
PDF
OpenNebulaConf2018 - OpenNebula and LXD Containers - Rubén S. Montero - OpenN...
PDF
Docker-v3.pdf
PDF
ss2021-docker-Pdf for docer Studyintroduction.pdf
PDF
PDF
Dockerizing OpenStack for High Availability
ODP
Docker - The Linux Container
PPT
Docker 101 for "The Core of Microservice Architecture"
PDF
Docker 0.11 at MaxCDN meetup in Los Angeles
PDF
Nebulaworks Docker Overview 09-22-2015
PDF
A Gentle Introduction to Docker and Containers
PDF
How to build and run oci containers
PPTX
Docker Machine and Swarm on OpenNebula - Jaime Melis
PPTX
Introduction to docker and oci
PDF
Docker Essentials Workshop— Innovation Labs July 2020
PDF
Docker Oxford launch - Introduction to Docker
PPTX
Docker Presentation
OpenNebulaconf2017US: Using docker with OpenNebula by Jaime Melis, OpenNebula
OpenNebula LXD Overview
OpenNebula LXD Container Support overview
OpenNebulaConf2018 - OpenNebula and LXD Containers - Rubén S. Montero - OpenN...
Docker-v3.pdf
ss2021-docker-Pdf for docer Studyintroduction.pdf
Dockerizing OpenStack for High Availability
Docker - The Linux Container
Docker 101 for "The Core of Microservice Architecture"
Docker 0.11 at MaxCDN meetup in Los Angeles
Nebulaworks Docker Overview 09-22-2015
A Gentle Introduction to Docker and Containers
How to build and run oci containers
Docker Machine and Swarm on OpenNebula - Jaime Melis
Introduction to docker and oci
Docker Essentials Workshop— Innovation Labs July 2020
Docker Oxford launch - Introduction to Docker
Docker Presentation
Ad

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
Ad

Recently uploaded (20)

PDF
giants, standing on the shoulders of - by Daniel Stenberg
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
PDF
Credit Without Borders: AI and Financial Inclusion in Bangladesh
PDF
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
PDF
CloudStack 4.21: First Look Webinar slides
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PPTX
Microsoft Excel 365/2024 Beginner's training
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PPT
Geologic Time for studying geology for geologist
PDF
4 layer Arch & Reference Arch of IoT.pdf
PPTX
Internet of Everything -Basic concepts details
PDF
A review of recent deep learning applications in wood surface defect identifi...
PPTX
TEXTILE technology diploma scope and career opportunities
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PDF
UiPath Agentic Automation session 1: RPA to Agents
giants, standing on the shoulders of - by Daniel Stenberg
OpenACC and Open Hackathons Monthly Highlights July 2025
Improvisation in detection of pomegranate leaf disease using transfer learni...
Credit Without Borders: AI and Financial Inclusion in Bangladesh
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
CloudStack 4.21: First Look Webinar slides
sbt 2.0: go big (Scala Days 2025 edition)
Custom Battery Pack Design Considerations for Performance and Safety
Microsoft Excel 365/2024 Beginner's training
Convolutional neural network based encoder-decoder for efficient real-time ob...
Geologic Time for studying geology for geologist
4 layer Arch & Reference Arch of IoT.pdf
Internet of Everything -Basic concepts details
A review of recent deep learning applications in wood surface defect identifi...
TEXTILE technology diploma scope and career opportunities
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
Early detection and classification of bone marrow changes in lumbar vertebrae...
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
UiPath Agentic Automation session 1: RPA to Agents

OpenNebulaConf 2014 - Lightning talk: Managing Docker Containers with OpenNebula - Marco Mancini

  • 1. Managing Docker Containers with OpenNebula Marco Mancini, Ph.D. Scientific Computing & Operations Division [email protected] OpenNebula Conference 2014 Berlin, 2-4/12/2014
  • 2. About CMCC & SCO ●CMCC is a non-profit research Institution ●Established in 2005, with the financial support of the Italian Ministry of Education, University and Research, the Ministry of the Environment, Land and Sea and the Ministry of Economy ●CMCC manages and promotes scientific and applied activities in the field of international climate change research ●CMCC involves and links private and public institutions, jointly investigating multidisciplinary topics related to climate science research Scientific Computing & Operations ●Scientific Data Management ●High End Computing ●High Performance Computing System Management Current Cloud Computing Activities at SCO ●Big Data analytics framework for eScience (OPHIDIA) to study Climate change and biodiversity (EUBrazilCC project (2014-2016), Ignacio Blanquer, UPV (Spain), Francisco Brasileiro, UFCG, Brasil) ●Different deployment scenarios using OpenNebula
  • 3. Proposed feature/activity Dockerfile: recipe to build a container Execution is fast and lightweight: processes are isolated but ran straight on the host, CPU, memory, network and disk/io performance almost equal to native performance Containers: lightweight VMs Own process space Own network space Can run stuff as root Can have its own /sbin/init Image: basis for the container Docker Engine: Commoditize LXC Uses copy-on-write for quick provisioning Runs as a daemon Interaction with CLI and REST API Registry: share/store images Integration of Docker containers into OpenNebula Use Case: OneFlow for quick provisioning and dynamic scaling of OPHIDIA Docker: Build, Ship and Run Any App, Anywhere ●Package your application in a container ●Move the container from one machine to another ●Execute that container anywhere Docker Components Data Volume: persistent and/or shared data
  • 4. Managing Docker Containers with OpenNebula OpenNebula as an Orchestrator of VM and Containers An Host can provide both VMs and Containers (e.g. KVM + docker engine) Security Networking (#8951, #8952, #8997) Remote/Shared Volumes &Mgmt (#7249, #8484, #8854) Monitoring Containers Shared Volumes between containers (--volumes-from) Linking containers (--link) Datastore (Images) Docker Registry Datastore (Data Volumes) CEPH Transfer Manager docker pull/push Information Manager docker inspect VM Manager docker run (deploy) docker import/export (migrate) docker stop docker rm (delete) CPU="1” MEMORY="256" SOURCE="docker://webserver:1.0" VOLUME=["/var/www"] PORT=80 NETWORK=“docker0” Template Mount a CEPH Data Volume rbd create –p one one-${VID} --size ${VSIZE} rbd map one-${VID} mkdir ${HDIR}/${VMID}/volume.${VID} mkfs –t ${TYPEFS} $DEV mount $DEV ${HDIR}/${VMID}/volume.${VID} Deploy a Docker container docker run -d -v ${HDIR}/${VMID}/disk.${VID}:/var/www -p 80 --name one-${VMID} -c 1 -m 256m webserver:1.0