DockerCon EU 2015: Finding a Theory of the Universe with Docker and Volunteer Computers

Docker, Inc.
Docker, Inc.Docker, Inc.
Finding a Theory of the Universe with
Docker and Volunteer Computers
Marius Millea
Lagrange Postdoctoral Fellow
Institut Lagrange de Paris
About Me
• I'm a cosmologist
• ...but I've always been really into
computers
• I work on analyzing data from a
satellite called Planck
• I'm the main developer at
Cosmology@Home
Thanks to...
Ben Wandelt Rom Walton Cam Boehmer
Original creator of
Cosmology@Home
A BOINC developer Introduced me to
Docker
...and many others
• Cosmology@Home is a volunteer-based computer cluster
Active computers:
(as of July 2015)
• Our aim is to better understand our universe
(in particular the mass of the neutrino particle)
Server
Volunteers
Possible universes
Outline
• Measuring the mass of the neutrino
particle with Planck
• Cosmology@Home and how Docker has
helped
• Future Docker use at Cosmology@Home
and in the field of physics in general
Why the science?
• Show you a definite
example of the type of
calculations we do
• Give you a sense of their
ever-changing nature
“For the discovery of neutrino oscillations, which
shows that neutrinos have mass”
So what is the mass?
neutrinos
Created in nuclear
power plants
Created in the sun
Created by the big bang
nasa.gov
wikipedia.org
Known particles
●
Neutrinos interact very weakly
●
Makes measuring their mass difficult
Neutrinos emitted from the sun,
as seen through the earth Super-Kamiokande
Source Detector
DetectorSourceBacklight
The History of the Universe (backwards)
The History of the Universe (forwards)
The Planck satellite
DockerCon EU 2015: Finding a Theory of the Universe with Docker and Volunteer Computers
DockerCon EU 2015: Finding a Theory of the Universe with Docker and Volunteer Computers
DockerCon EU 2015: Finding a Theory of the Universe with Docker and Volunteer Computers
Cold (-270.3999˚C) Hot (-270.4001˚C)
Cold (-270.3999˚C) Hot (-270.4001˚C)
DetectorSourceBacklight
Summary thus far
• We measure the distortion of the CMB due
to neutrinos released from the big bang to
infer the mass of the neutrino particle
• Our volunteer computers simulate
different hypothetical universes with
different neutrino masses to tell us how
much distortion we would expect, then we
compare to data
Outline
• Measuring the mass of the neutrino
particle with Planck
• Cosmology@Home and how Docker has
helped
• Future Docker use at Cosmology@Home
and in the field of physics in general
From the user's POV
z
http://www.cosmologyathome.org
https://boinc.berkeley.edu
DockerCon EU 2015: Finding a Theory of the Universe with Docker and Volunteer Computers
DockerCon EU 2015: Finding a Theory of the Universe with Docker and Volunteer Computers
DockerCon EU 2015: Finding a Theory of the Universe with Docker and Volunteer Computers
DockerCon EU 2015: Finding a Theory of the Universe with Docker and Volunteer Computers
From our POV
Regular apps
• Compile executable for each platform
• Either statically link or include all necessary libraries
• Link against the BOINC libraries and manage user
requests for suspend/checkpoint/resume, etc…
• BOINC takes care of sending it each host, running it, etc...
Cosmology@Home computers
VM apps
• Just create one VM image, works on all platforms
• BOINC handles suspend/checkpoint/resume
• Still some downsides
– Its clunky to create a VM image
– New app version, user has to redownload whole thing?
Cosmology@Home internet connections
Docker apps
+Debian base image (~40Mb compressed)
+our app (~3Mb compressed)
BOINC
BOINC Virtualbox wrapper
“boinc2docker” ISO
Docker container
handles pause/resume
generally “BOINC things...”
lightly modified to interact with BOINC
Persistence
Logging
Startup script
boot2docker ISO modifications
#!/bin/sh
/etc/init.d/docker stop
tar cf /root/scratch/boinc2docker_persistence.tar /var/lib/docker/*
/etc/init.d/docker start
#!/bin/sh
docker inspect $IMAGE || { docker pull $IMAGE && save_docker.sh; }
docker run --rm -v /root/shared:/root/shared $IMAGE
via Virtualbox guest-logging, logs are uploaded to our DB
What running jobs now looks like
• Create the Docker image which runs my
calculation and push to Docker hub
docker build -t cosmohome/mytheory .
docker push cosmohome/mytheory
...
FROM debian:wheezy
RUN apt-get update && 
apt-get -y install libgfortran3 libgomp1 && 
rm -rf /var/lib/apt/lists/*
COPY ["camb", "HighLExtrapTemplate_lenspotentialCls.dat", "/root/"]
What running jobs now looks like
• Submit workunit on Cosmology@Home
server pointing to my image
./create_work --app boinc2docker 
boinc_app 
params
e.g. neutrino mass = X...
A short script like you saw
before which does a
docker run cosmohome/mytheory
End result
• Its easy!
• I can spend my time being a physicist,
not a programmer
Previously
Planck
Outline
• Measuring the mass of the neutrino
particle with Planck
• Cosmology@Home and how Docker has
helped
• Future Docker use at Cosmology@Home
and in the field of physics in general
Docker and volunteer computing
“BOINC is the #5
super-computer in
the world. What if
it ran Docker?”
4
2
Docker and volunteer computing
Cosmology@Home:
• “Higher fidelity” simulations of the universe
Generally:
• An “IPython Parallel”-like interface to BOINC
• “Service to scientists”
• Swarm, Tutum..?
• From the top: the most computer savvy
physicists know of and may use Docker
• From the grassroots: more work needed
– Good news: physicists develop, ship, and
modify code
– Docker and MPI (e.g. see “Shifter” at NERSC)
Docker and scientific computing
Summary
• Cosmology@Home, a cluster of volunteer
computers, now runs Docker
• Docker allows us to spend our time being
physicists
• If anyone is looking for open source
projects to contribute to, we welcome
helpers, find me or our
github.com/marius311/cosmohome
Thank you!
Marius Millea
mariusmillea@gmail.com
1 of 46

Recommended

7+1 myths of the new os by
7+1 myths of the new os7+1 myths of the new os
7+1 myths of the new osAlexis Richardson
18.8K views39 slides
Docker worshop @Twitter - How to use your own private registry by
Docker worshop @Twitter - How to use your own private registryDocker worshop @Twitter - How to use your own private registry
Docker worshop @Twitter - How to use your own private registrydotCloud
7.4K views19 slides
Intro to Docker by
Intro to DockerIntro to Docker
Intro to DockerTim Haak
477 views21 slides
Amazon Web Services and Docker by
Amazon Web Services and DockerAmazon Web Services and Docker
Amazon Web Services and DockerPaolo latella
3.7K views17 slides
Cohesion Techsessie Docker - Daniel Palstra by
Cohesion Techsessie Docker - Daniel PalstraCohesion Techsessie Docker - Daniel Palstra
Cohesion Techsessie Docker - Daniel PalstraDaniel Palstra
198 views55 slides
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12 by
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12dotCloud
4.9K views36 slides

More Related Content

What's hot

Docker intro by
Docker introDocker intro
Docker introOleg Z
490 views24 slides
Docker introduction by
Docker introductionDocker introduction
Docker introductiondotCloud
455.8K views29 slides
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ... by
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...Puppet
182 views26 slides
Introduction to docker by
Introduction to dockerIntroduction to docker
Introduction to dockerJohn Willis
3.2K views55 slides
Docker Introduction by
Docker IntroductionDocker Introduction
Docker IntroductionJeffrey Ellin
631 views35 slides
Getting started with Docker by
Getting started with DockerGetting started with Docker
Getting started with DockerRavindu Fernando
533 views41 slides

What's hot(20)

Docker intro by Oleg Z
Docker introDocker intro
Docker intro
Oleg Z490 views
Docker introduction by dotCloud
Docker introductionDocker introduction
Docker introduction
dotCloud455.8K views
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ... by Puppet
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
Puppet182 views
Introduction to docker by John Willis
Introduction to dockerIntroduction to docker
Introduction to docker
John Willis3.2K views
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017 by Frank Munz
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
Frank Munz502 views
Docker Introduction by Peng Xiao
Docker IntroductionDocker Introduction
Docker Introduction
Peng Xiao1.5K views
Discovering Docker Volume Plugins and Apps using VirtualBox by Clinton Kitson
Discovering Docker Volume Plugins and Apps using VirtualBoxDiscovering Docker Volume Plugins and Apps using VirtualBox
Discovering Docker Volume Plugins and Apps using VirtualBox
Clinton Kitson983 views
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013 by dotCloud
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
dotCloud6.7K views
Docker in pratice -chenyifei by dotCloud
Docker in pratice -chenyifeiDocker in pratice -chenyifei
Docker in pratice -chenyifei
dotCloud19.6K views
Dockerizing your applications - Docker workshop @Twitter by dotCloud
Dockerizing your applications - Docker workshop @TwitterDockerizing your applications - Docker workshop @Twitter
Dockerizing your applications - Docker workshop @Twitter
dotCloud10K views
Building a Docker Swarm cluster on ARM by Dieter Reuter and Stefan Scherer by Docker, Inc.
Building a Docker Swarm cluster on ARM by Dieter Reuter and Stefan Scherer Building a Docker Swarm cluster on ARM by Dieter Reuter and Stefan Scherer
Building a Docker Swarm cluster on ARM by Dieter Reuter and Stefan Scherer
Docker, Inc.1.6K views
Introduction to Docker - What is it and how is it compared to VM's by Jeremy Haas
Introduction to Docker - What is it and how is it compared to VM'sIntroduction to Docker - What is it and how is it compared to VM's
Introduction to Docker - What is it and how is it compared to VM's
Jeremy Haas2K views
DockerCon EU 2015: Day 1 General Session by Docker, Inc.
DockerCon EU 2015: Day 1 General SessionDockerCon EU 2015: Day 1 General Session
DockerCon EU 2015: Day 1 General Session
Docker, Inc.37.7K views
Docker introduction by Phuc Nguyen
Docker introductionDocker introduction
Docker introduction
Phuc Nguyen1.3K views
Intro Docker october 2013 by dotCloud
Intro Docker october 2013Intro Docker october 2013
Intro Docker october 2013
dotCloud6.7K views

Viewers also liked

DockerCon EU 2015: Official Repos and Project Nautilus by
DockerCon EU 2015: Official Repos and Project NautilusDockerCon EU 2015: Official Repos and Project Nautilus
DockerCon EU 2015: Official Repos and Project NautilusDocker, Inc.
8.5K views41 slides
Live migrating a container: pros, cons and gotchas by
Live migrating a container: pros, cons and gotchasLive migrating a container: pros, cons and gotchas
Live migrating a container: pros, cons and gotchasDocker, Inc.
13K views22 slides
DockerCon EU 2015: Using Docker and SDN for telco-grade applications by
DockerCon EU 2015: Using Docker and SDN for telco-grade applicationsDockerCon EU 2015: Using Docker and SDN for telco-grade applications
DockerCon EU 2015: Using Docker and SDN for telco-grade applicationsDocker, Inc.
8.7K views21 slides
DockerCon EU 2015: Production Ready Containers from IBM and Docker by
DockerCon EU 2015: Production Ready Containers from IBM and DockerDockerCon EU 2015: Production Ready Containers from IBM and Docker
DockerCon EU 2015: Production Ready Containers from IBM and DockerDocker, Inc.
9.4K views27 slides
Kernel load-balancing for Docker containers using IPVS by
Kernel load-balancing for Docker containers using IPVSKernel load-balancing for Docker containers using IPVS
Kernel load-balancing for Docker containers using IPVSDocker, Inc.
14.5K views26 slides
Docker Online Meetup #22: Docker Networking by
Docker Online Meetup #22: Docker NetworkingDocker Online Meetup #22: Docker Networking
Docker Online Meetup #22: Docker NetworkingDocker, Inc.
13.1K views24 slides

Viewers also liked(20)

DockerCon EU 2015: Official Repos and Project Nautilus by Docker, Inc.
DockerCon EU 2015: Official Repos and Project NautilusDockerCon EU 2015: Official Repos and Project Nautilus
DockerCon EU 2015: Official Repos and Project Nautilus
Docker, Inc.8.5K views
Live migrating a container: pros, cons and gotchas by Docker, Inc.
Live migrating a container: pros, cons and gotchasLive migrating a container: pros, cons and gotchas
Live migrating a container: pros, cons and gotchas
Docker, Inc.13K views
DockerCon EU 2015: Using Docker and SDN for telco-grade applications by Docker, Inc.
DockerCon EU 2015: Using Docker and SDN for telco-grade applicationsDockerCon EU 2015: Using Docker and SDN for telco-grade applications
DockerCon EU 2015: Using Docker and SDN for telco-grade applications
Docker, Inc.8.7K views
DockerCon EU 2015: Production Ready Containers from IBM and Docker by Docker, Inc.
DockerCon EU 2015: Production Ready Containers from IBM and DockerDockerCon EU 2015: Production Ready Containers from IBM and Docker
DockerCon EU 2015: Production Ready Containers from IBM and Docker
Docker, Inc.9.4K views
Kernel load-balancing for Docker containers using IPVS by Docker, Inc.
Kernel load-balancing for Docker containers using IPVSKernel load-balancing for Docker containers using IPVS
Kernel load-balancing for Docker containers using IPVS
Docker, Inc.14.5K views
Docker Online Meetup #22: Docker Networking by Docker, Inc.
Docker Online Meetup #22: Docker NetworkingDocker Online Meetup #22: Docker Networking
Docker Online Meetup #22: Docker Networking
Docker, Inc.13.1K views
Cgroups, namespaces and beyond: what are containers made from? by Docker, Inc.
Cgroups, namespaces and beyond: what are containers made from?Cgroups, namespaces and beyond: what are containers made from?
Cgroups, namespaces and beyond: what are containers made from?
Docker, Inc.11.3K views
Build, Publish, Deploy and Test Docker images and containers with Jenkins Wor... by Docker, Inc.
Build, Publish, Deploy and Test Docker images and containers with Jenkins Wor...Build, Publish, Deploy and Test Docker images and containers with Jenkins Wor...
Build, Publish, Deploy and Test Docker images and containers with Jenkins Wor...
Docker, Inc.33K views
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose by Docker, Inc.
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and ComposeDockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
Docker, Inc.33.6K views
Docker Hub: Past, Present and Future by Ken Cochrane & BC Wong by Docker, Inc.
Docker Hub: Past, Present and Future by Ken Cochrane & BC WongDocker Hub: Past, Present and Future by Ken Cochrane & BC Wong
Docker Hub: Past, Present and Future by Ken Cochrane & BC Wong
Docker, Inc.8.8K views
DockerCon EU 2015: Compute as an Interruption Forget the Servers by Docker, Inc.
DockerCon EU 2015: Compute as an Interruption Forget the ServersDockerCon EU 2015: Compute as an Interruption Forget the Servers
DockerCon EU 2015: Compute as an Interruption Forget the Servers
Docker, Inc.1.9K views
Mobycraft:Docker in 8-bit (Meetup at Docker HQ 4/7) by Docker, Inc.
Mobycraft:Docker in 8-bit (Meetup at Docker HQ 4/7)Mobycraft:Docker in 8-bit (Meetup at Docker HQ 4/7)
Mobycraft:Docker in 8-bit (Meetup at Docker HQ 4/7)
Docker, Inc.1.4K views
Mobycraft - Docker in 8-bit by Aditya Gupta by Docker, Inc.
Mobycraft - Docker in 8-bit by Aditya Gupta Mobycraft - Docker in 8-bit by Aditya Gupta
Mobycraft - Docker in 8-bit by Aditya Gupta
Docker, Inc.713 views
The Future of Hardware-Backed Keys by Docker, Inc.
The Future of Hardware-Backed KeysThe Future of Hardware-Backed Keys
The Future of Hardware-Backed Keys
Docker, Inc.1.1K views
Containerize All the (Multi-Platform) Things! by Phil Estes by Docker, Inc.
Containerize All the (Multi-Platform) Things! by Phil EstesContainerize All the (Multi-Platform) Things! by Phil Estes
Containerize All the (Multi-Platform) Things! by Phil Estes
Docker, Inc.532 views
Monitoring Containers at New Relic by Sean Kane by Docker, Inc.
Monitoring Containers at New Relic by Sean Kane Monitoring Containers at New Relic by Sean Kane
Monitoring Containers at New Relic by Sean Kane
Docker, Inc.1.1K views
DockerCon Recap - Online Meetup by Ben Firshman by Docker, Inc.
DockerCon Recap - Online Meetup by Ben FirshmanDockerCon Recap - Online Meetup by Ben Firshman
DockerCon Recap - Online Meetup by Ben Firshman
Docker, Inc.5K views
Autoscaling Docker Containers by Konstantinos Faliagkas, Docker Birthday #3 A... by Docker, Inc.
Autoscaling Docker Containers by Konstantinos Faliagkas, Docker Birthday #3 A...Autoscaling Docker Containers by Konstantinos Faliagkas, Docker Birthday #3 A...
Autoscaling Docker Containers by Konstantinos Faliagkas, Docker Birthday #3 A...
Docker, Inc.928 views
DockerCon SF 2015: Education for a digital world by Docker, Inc.
DockerCon SF 2015: Education for a digital worldDockerCon SF 2015: Education for a digital world
DockerCon SF 2015: Education for a digital world
Docker, Inc.2.9K views
Dockerfile Basics Workshop #1 by Docker, Inc.
Dockerfile Basics Workshop #1Dockerfile Basics Workshop #1
Dockerfile Basics Workshop #1
Docker, Inc.792 views

Similar to DockerCon EU 2015: Finding a Theory of the Universe with Docker and Volunteer Computers

Ansible Oxford - Cows & Containers by
Ansible Oxford - Cows & ContainersAnsible Oxford - Cows & Containers
Ansible Oxford - Cows & Containersjonatanblue
9K views25 slides
The Container Revolution: Reflections after the first decade by
The Container Revolution: Reflections after the first decadeThe Container Revolution: Reflections after the first decade
The Container Revolution: Reflections after the first decadebcantrill
5.4K views36 slides
Supercharge ml using docker by
Supercharge ml using dockerSupercharge ml using docker
Supercharge ml using dockerSho Fola Soboyejo
54 views14 slides
Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock... by
Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...
Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...Lucas Jellema
2.7K views59 slides
mpandya_poster by
mpandya_postermpandya_poster
mpandya_posterMihir Pandya
98 views1 slide
Java developer intro to environment management with vagrant puppet and docker by
Java developer intro to environment management with vagrant puppet and dockerJava developer intro to environment management with vagrant puppet and docker
Java developer intro to environment management with vagrant puppet and dockerGetting value from IoT, Integration and Data Analytics
774 views59 slides

Similar to DockerCon EU 2015: Finding a Theory of the Universe with Docker and Volunteer Computers(20)

Ansible Oxford - Cows & Containers by jonatanblue
Ansible Oxford - Cows & ContainersAnsible Oxford - Cows & Containers
Ansible Oxford - Cows & Containers
jonatanblue9K views
The Container Revolution: Reflections after the first decade by bcantrill
The Container Revolution: Reflections after the first decadeThe Container Revolution: Reflections after the first decade
The Container Revolution: Reflections after the first decade
bcantrill5.4K views
Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock... by Lucas Jellema
Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...
Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...
Lucas Jellema2.7K views
Using Minikube for Node.js development by Troy Connor
Using Minikube for Node.js developmentUsing Minikube for Node.js development
Using Minikube for Node.js development
Troy Connor330 views
Docker Introduction by w_akram
Docker IntroductionDocker Introduction
Docker Introduction
w_akram1.2K views
Docker in development by sethvoltz
Docker in developmentDocker in development
Docker in development
sethvoltz586 views
Introduction to Docker by Alan Forbes
Introduction to DockerIntroduction to Docker
Introduction to Docker
Alan Forbes162 views
Quest overview by Adam Pah
Quest overviewQuest overview
Quest overview
Adam Pah902 views
Docker interview Questions-1.pdf by Yogeshwaran R
Docker interview Questions-1.pdfDocker interview Questions-1.pdf
Docker interview Questions-1.pdf
Yogeshwaran R52 views
2016 - Orchestrating multi-container apps: How I came to love the pod by devopsdaysaustin
2016 - Orchestrating multi-container apps: How I came to love the pod2016 - Orchestrating multi-container apps: How I came to love the pod
2016 - Orchestrating multi-container apps: How I came to love the pod
devopsdaysaustin196 views
eZ Publish 5: from zero to automated deployment (and no regressions!) in one ... by Gaetano Giunta
eZ Publish 5: from zero to automated deployment (and no regressions!) in one ...eZ Publish 5: from zero to automated deployment (and no regressions!) in one ...
eZ Publish 5: from zero to automated deployment (and no regressions!) in one ...
Gaetano Giunta816 views
Automated hardware testing using docker for space by Docker, Inc.
Automated hardware testing using docker for spaceAutomated hardware testing using docker for space
Automated hardware testing using docker for space
Docker, Inc.1.1K views

More from Docker, Inc.

Containerize Your Game Server for the Best Multiplayer Experience by
Containerize Your Game Server for the Best Multiplayer Experience Containerize Your Game Server for the Best Multiplayer Experience
Containerize Your Game Server for the Best Multiplayer Experience Docker, Inc.
5.4K views20 slides
How to Improve Your Image Builds Using Advance Docker Build by
How to Improve Your Image Builds Using Advance Docker BuildHow to Improve Your Image Builds Using Advance Docker Build
How to Improve Your Image Builds Using Advance Docker BuildDocker, Inc.
1.2K views29 slides
Build & Deploy Multi-Container Applications to AWS by
Build & Deploy Multi-Container Applications to AWSBuild & Deploy Multi-Container Applications to AWS
Build & Deploy Multi-Container Applications to AWSDocker, Inc.
800 views13 slides
Securing Your Containerized Applications with NGINX by
Securing Your Containerized Applications with NGINXSecuring Your Containerized Applications with NGINX
Securing Your Containerized Applications with NGINXDocker, Inc.
675 views79 slides
How To Build and Run Node Apps with Docker and Compose by
How To Build and Run Node Apps with Docker and ComposeHow To Build and Run Node Apps with Docker and Compose
How To Build and Run Node Apps with Docker and ComposeDocker, Inc.
708 views55 slides
Hands-on Helm by
Hands-on Helm Hands-on Helm
Hands-on Helm Docker, Inc.
593 views26 slides

More from Docker, Inc.(20)

Containerize Your Game Server for the Best Multiplayer Experience by Docker, Inc.
Containerize Your Game Server for the Best Multiplayer Experience Containerize Your Game Server for the Best Multiplayer Experience
Containerize Your Game Server for the Best Multiplayer Experience
Docker, Inc.5.4K views
How to Improve Your Image Builds Using Advance Docker Build by Docker, Inc.
How to Improve Your Image Builds Using Advance Docker BuildHow to Improve Your Image Builds Using Advance Docker Build
How to Improve Your Image Builds Using Advance Docker Build
Docker, Inc.1.2K views
Build & Deploy Multi-Container Applications to AWS by Docker, Inc.
Build & Deploy Multi-Container Applications to AWSBuild & Deploy Multi-Container Applications to AWS
Build & Deploy Multi-Container Applications to AWS
Docker, Inc.800 views
Securing Your Containerized Applications with NGINX by Docker, Inc.
Securing Your Containerized Applications with NGINXSecuring Your Containerized Applications with NGINX
Securing Your Containerized Applications with NGINX
Docker, Inc.675 views
How To Build and Run Node Apps with Docker and Compose by Docker, Inc.
How To Build and Run Node Apps with Docker and ComposeHow To Build and Run Node Apps with Docker and Compose
How To Build and Run Node Apps with Docker and Compose
Docker, Inc.708 views
Distributed Deep Learning with Docker at Salesforce by Docker, Inc.
Distributed Deep Learning with Docker at SalesforceDistributed Deep Learning with Docker at Salesforce
Distributed Deep Learning with Docker at Salesforce
Docker, Inc.466 views
The First 10M Pulls: Building The Official Curl Image for Docker Hub by Docker, Inc.
The First 10M Pulls: Building The Official Curl Image for Docker HubThe First 10M Pulls: Building The Official Curl Image for Docker Hub
The First 10M Pulls: Building The Official Curl Image for Docker Hub
Docker, Inc.611 views
Monitoring in a Microservices World by Docker, Inc.
Monitoring in a Microservices WorldMonitoring in a Microservices World
Monitoring in a Microservices World
Docker, Inc.405 views
COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti... by Docker, Inc.
COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...
COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...
Docker, Inc.315 views
Predicting Space Weather with Docker by Docker, Inc.
Predicting Space Weather with DockerPredicting Space Weather with Docker
Predicting Space Weather with Docker
Docker, Inc.238 views
Become a Docker Power User With Microsoft Visual Studio Code by Docker, Inc.
Become a Docker Power User With Microsoft Visual Studio CodeBecome a Docker Power User With Microsoft Visual Studio Code
Become a Docker Power User With Microsoft Visual Studio Code
Docker, Inc.353 views
How to Use Mirroring and Caching to Optimize your Container Registry by Docker, Inc.
How to Use Mirroring and Caching to Optimize your Container RegistryHow to Use Mirroring and Caching to Optimize your Container Registry
How to Use Mirroring and Caching to Optimize your Container Registry
Docker, Inc.363 views
Monolithic to Microservices + Docker = SDLC on Steroids! by Docker, Inc.
Monolithic to Microservices + Docker = SDLC on Steroids!Monolithic to Microservices + Docker = SDLC on Steroids!
Monolithic to Microservices + Docker = SDLC on Steroids!
Docker, Inc.325 views
Kubernetes at Datadog Scale by Docker, Inc.
Kubernetes at Datadog ScaleKubernetes at Datadog Scale
Kubernetes at Datadog Scale
Docker, Inc.327 views
Labels, Labels, Labels by Docker, Inc.
Labels, Labels, Labels Labels, Labels, Labels
Labels, Labels, Labels
Docker, Inc.223 views
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model by Docker, Inc.
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment ModelUsing Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
Docker, Inc.206 views
Build & Deploy Multi-Container Applications to AWS by Docker, Inc.
Build & Deploy Multi-Container Applications to AWSBuild & Deploy Multi-Container Applications to AWS
Build & Deploy Multi-Container Applications to AWS
Docker, Inc.430 views
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S... by Docker, Inc.
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
Docker, Inc.351 views
Developing with Docker for the Arm Architecture by Docker, Inc.
Developing with Docker for the Arm ArchitectureDeveloping with Docker for the Arm Architecture
Developing with Docker for the Arm Architecture
Docker, Inc.2.2K views

Recently uploaded

The Power of Heat Decarbonisation Plans in the Built Environment by
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built EnvironmentIES VE
67 views20 slides
Business Analyst Series 2023 - Week 4 Session 7 by
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7DianaGray10
110 views31 slides
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...James Anderson
142 views32 slides
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda... by
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...ShapeBlue
93 views13 slides
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ... by
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...ShapeBlue
121 views15 slides
Kyo - Functional Scala 2023.pdf by
Kyo - Functional Scala 2023.pdfKyo - Functional Scala 2023.pdf
Kyo - Functional Scala 2023.pdfFlavio W. Brasil
443 views92 slides

Recently uploaded(20)

The Power of Heat Decarbonisation Plans in the Built Environment by IES VE
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built Environment
IES VE67 views
Business Analyst Series 2023 - Week 4 Session 7 by DianaGray10
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7
DianaGray10110 views
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson142 views
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda... by ShapeBlue
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
ShapeBlue93 views
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ... by ShapeBlue
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...
ShapeBlue121 views
Why and How CloudStack at weSystems - Stephan Bienek - weSystems by ShapeBlue
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsWhy and How CloudStack at weSystems - Stephan Bienek - weSystems
Why and How CloudStack at weSystems - Stephan Bienek - weSystems
ShapeBlue172 views
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue by ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
ShapeBlue75 views
Digital Personal Data Protection (DPDP) Practical Approach For CISOs by Priyanka Aash
Digital Personal Data Protection (DPDP) Practical Approach For CISOsDigital Personal Data Protection (DPDP) Practical Approach For CISOs
Digital Personal Data Protection (DPDP) Practical Approach For CISOs
Priyanka Aash103 views
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R... by ShapeBlue
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
ShapeBlue105 views
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue by ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueVNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
ShapeBlue134 views
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha... by ShapeBlue
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
ShapeBlue113 views
DRBD Deep Dive - Philipp Reisner - LINBIT by ShapeBlue
DRBD Deep Dive - Philipp Reisner - LINBITDRBD Deep Dive - Philipp Reisner - LINBIT
DRBD Deep Dive - Philipp Reisner - LINBIT
ShapeBlue110 views
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti... by ShapeBlue
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
ShapeBlue69 views
State of the Union - Rohit Yadav - Apache CloudStack by ShapeBlue
State of the Union - Rohit Yadav - Apache CloudStackState of the Union - Rohit Yadav - Apache CloudStack
State of the Union - Rohit Yadav - Apache CloudStack
ShapeBlue218 views
Data Integrity for Banking and Financial Services by Precisely
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial Services
Precisely76 views
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online by ShapeBlue
KVM Security Groups Under the Hood - Wido den Hollander - Your.OnlineKVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
ShapeBlue154 views
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... by ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue97 views

DockerCon EU 2015: Finding a Theory of the Universe with Docker and Volunteer Computers

  • 1. Finding a Theory of the Universe with Docker and Volunteer Computers Marius Millea Lagrange Postdoctoral Fellow Institut Lagrange de Paris
  • 2. About Me • I'm a cosmologist • ...but I've always been really into computers • I work on analyzing data from a satellite called Planck • I'm the main developer at Cosmology@Home
  • 3. Thanks to... Ben Wandelt Rom Walton Cam Boehmer Original creator of Cosmology@Home A BOINC developer Introduced me to Docker ...and many others
  • 4. • Cosmology@Home is a volunteer-based computer cluster Active computers: (as of July 2015)
  • 5. • Our aim is to better understand our universe (in particular the mass of the neutrino particle) Server Volunteers Possible universes
  • 6. Outline • Measuring the mass of the neutrino particle with Planck • Cosmology@Home and how Docker has helped • Future Docker use at Cosmology@Home and in the field of physics in general
  • 7. Why the science? • Show you a definite example of the type of calculations we do • Give you a sense of their ever-changing nature
  • 8. “For the discovery of neutrino oscillations, which shows that neutrinos have mass” So what is the mass?
  • 9. neutrinos Created in nuclear power plants Created in the sun Created by the big bang nasa.gov wikipedia.org Known particles
  • 10. ● Neutrinos interact very weakly ● Makes measuring their mass difficult Neutrinos emitted from the sun, as seen through the earth Super-Kamiokande
  • 12. The History of the Universe (backwards)
  • 13. The History of the Universe (forwards)
  • 18. Cold (-270.3999˚C) Hot (-270.4001˚C)
  • 19. Cold (-270.3999˚C) Hot (-270.4001˚C)
  • 21. Summary thus far • We measure the distortion of the CMB due to neutrinos released from the big bang to infer the mass of the neutrino particle • Our volunteer computers simulate different hypothetical universes with different neutrino masses to tell us how much distortion we would expect, then we compare to data
  • 22. Outline • Measuring the mass of the neutrino particle with Planck • Cosmology@Home and how Docker has helped • Future Docker use at Cosmology@Home and in the field of physics in general
  • 31. Regular apps • Compile executable for each platform • Either statically link or include all necessary libraries • Link against the BOINC libraries and manage user requests for suspend/checkpoint/resume, etc… • BOINC takes care of sending it each host, running it, etc...
  • 33. VM apps • Just create one VM image, works on all platforms • BOINC handles suspend/checkpoint/resume • Still some downsides – Its clunky to create a VM image – New app version, user has to redownload whole thing?
  • 35. Docker apps +Debian base image (~40Mb compressed) +our app (~3Mb compressed) BOINC BOINC Virtualbox wrapper “boinc2docker” ISO Docker container handles pause/resume generally “BOINC things...” lightly modified to interact with BOINC
  • 36. Persistence Logging Startup script boot2docker ISO modifications #!/bin/sh /etc/init.d/docker stop tar cf /root/scratch/boinc2docker_persistence.tar /var/lib/docker/* /etc/init.d/docker start #!/bin/sh docker inspect $IMAGE || { docker pull $IMAGE && save_docker.sh; } docker run --rm -v /root/shared:/root/shared $IMAGE via Virtualbox guest-logging, logs are uploaded to our DB
  • 37. What running jobs now looks like • Create the Docker image which runs my calculation and push to Docker hub docker build -t cosmohome/mytheory . docker push cosmohome/mytheory ... FROM debian:wheezy RUN apt-get update && apt-get -y install libgfortran3 libgomp1 && rm -rf /var/lib/apt/lists/* COPY ["camb", "HighLExtrapTemplate_lenspotentialCls.dat", "/root/"]
  • 38. What running jobs now looks like • Submit workunit on Cosmology@Home server pointing to my image ./create_work --app boinc2docker boinc_app params e.g. neutrino mass = X... A short script like you saw before which does a docker run cosmohome/mytheory
  • 39. End result • Its easy! • I can spend my time being a physicist, not a programmer Previously Planck
  • 40. Outline • Measuring the mass of the neutrino particle with Planck • Cosmology@Home and how Docker has helped • Future Docker use at Cosmology@Home and in the field of physics in general
  • 41. Docker and volunteer computing
  • 42. “BOINC is the #5 super-computer in the world. What if it ran Docker?” 4 2
  • 43. Docker and volunteer computing Cosmology@Home: • “Higher fidelity” simulations of the universe Generally: • An “IPython Parallel”-like interface to BOINC • “Service to scientists” • Swarm, Tutum..?
  • 44. • From the top: the most computer savvy physicists know of and may use Docker • From the grassroots: more work needed – Good news: physicists develop, ship, and modify code – Docker and MPI (e.g. see “Shifter” at NERSC) Docker and scientific computing
  • 45. Summary • Cosmology@Home, a cluster of volunteer computers, now runs Docker • Docker allows us to spend our time being physicists • If anyone is looking for open source projects to contribute to, we welcome helpers, find me or our github.com/marius311/cosmohome