SlideShare a Scribd company logo
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

More Related Content

PPTX
7+1 myths of the new os
PDF
Docker worshop @Twitter - How to use your own private registry
PDF
Intro to Docker
PPT
Amazon Web Services and Docker
PPTX
Cohesion Techsessie Docker - Daniel Palstra
PDF
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
PDF
Shipping Applications to Production in Containers with Docker
PDF
You Don't Have to Start Over! A Practical Guide for Adopting Docker in the En...
7+1 myths of the new os
Docker worshop @Twitter - How to use your own private registry
Intro to Docker
Amazon Web Services and Docker
Cohesion Techsessie Docker - Daniel Palstra
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
Shipping Applications to Production in Containers with Docker
You Don't Have to Start Over! A Practical Guide for Adopting Docker in the En...

What's hot (20)

PPTX
Docker intro
PPTX
Docker introduction
PDF
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
PDF
Introduction to docker
PDF
Docker Introduction
PPTX
Getting started with Docker
PDF
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
PDF
Docker Introduction
PDF
Introduction To Docker
PDF
Discovering Docker Volume Plugins and Apps using VirtualBox
PPTX
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
PPTX
Introduction to docker
PDF
Docker in pratice -chenyifei
PDF
Dockerizing your applications - Docker workshop @Twitter
PDF
Building a Docker Swarm cluster on ARM by Dieter Reuter and Stefan Scherer
PPTX
Introduction to Docker - What is it and how is it compared to VM's
PDF
DockerCon EU 2015: Day 1 General Session
PPT
Docker introduction
PPTX
Intro Docker october 2013
PPTX
Docker intro
Docker introduction
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
Introduction to docker
Docker Introduction
Getting started with Docker
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
Docker Introduction
Introduction To Docker
Discovering Docker Volume Plugins and Apps using VirtualBox
Write Once and REALLY Run Anywhere | OpenStack Summit HK 2013
Introduction to docker
Docker in pratice -chenyifei
Dockerizing your applications - Docker workshop @Twitter
Building a Docker Swarm cluster on ARM by Dieter Reuter and Stefan Scherer
Introduction to Docker - What is it and how is it compared to VM's
DockerCon EU 2015: Day 1 General Session
Docker introduction
Intro Docker october 2013
Ad

Viewers also liked (20)

PDF
DockerCon EU 2015: Official Repos and Project Nautilus
PDF
Live migrating a container: pros, cons and gotchas
PPTX
DockerCon EU 2015: Using Docker and SDN for telco-grade applications
PDF
DockerCon EU 2015: Production Ready Containers from IBM and Docker
PDF
Kernel load-balancing for Docker containers using IPVS
PDF
Docker Online Meetup #22: Docker Networking
PPTX
Cgroups, namespaces and beyond: what are containers made from?
PPTX
Build, Publish, Deploy and Test Docker images and containers with Jenkins Wor...
PDF
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
PPTX
Docker Hub: Past, Present and Future by Ken Cochrane & BC Wong
PPTX
DockerCon EU 2015: Compute as an Interruption Forget the Servers
PDF
Mobycraft:Docker in 8-bit (Meetup at Docker HQ 4/7)
PDF
Mobycraft - Docker in 8-bit by Aditya Gupta
PPTX
The Future of Hardware-Backed Keys
PDF
Containerize All the (Multi-Platform) Things! by Phil Estes
PDF
Monitoring Containers at New Relic by Sean Kane
PDF
DockerCon Recap - Online Meetup by Ben Firshman
PDF
Autoscaling Docker Containers by Konstantinos Faliagkas, Docker Birthday #3 A...
PPTX
DockerCon SF 2015: Education for a digital world
PPTX
Dockerfile Basics Workshop #1
DockerCon EU 2015: Official Repos and Project Nautilus
Live migrating a container: pros, cons and gotchas
DockerCon EU 2015: Using Docker and SDN for telco-grade applications
DockerCon EU 2015: Production Ready Containers from IBM and Docker
Kernel load-balancing for Docker containers using IPVS
Docker Online Meetup #22: Docker Networking
Cgroups, namespaces and beyond: what are containers made from?
Build, Publish, Deploy and Test Docker images and containers with Jenkins Wor...
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
Docker Hub: Past, Present and Future by Ken Cochrane & BC Wong
DockerCon EU 2015: Compute as an Interruption Forget the Servers
Mobycraft:Docker in 8-bit (Meetup at Docker HQ 4/7)
Mobycraft - Docker in 8-bit by Aditya Gupta
The Future of Hardware-Backed Keys
Containerize All the (Multi-Platform) Things! by Phil Estes
Monitoring Containers at New Relic by Sean Kane
DockerCon Recap - Online Meetup by Ben Firshman
Autoscaling Docker Containers by Konstantinos Faliagkas, Docker Birthday #3 A...
DockerCon SF 2015: Education for a digital world
Dockerfile Basics Workshop #1
Ad

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

PPTX
Containerization using docker and its applications
PPTX
Containerization using docker and its applications
PDF
Ansible Oxford - Cows & Containers
PDF
The Container Revolution: Reflections after the first decade
PDF
Supercharge ml using docker
PPTX
Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...
PDF
mpandya_poster
PPTX
Java developer intro to environment management with vagrant puppet and docker
PDF
Using Minikube for Node.js development
PPTX
141204 upload
PDF
Docker Introduction
PPTX
Docker in development
PPTX
Introduction to Docker
PDF
Docker on a Diet
PDF
Quest overview
PDF
Docker interview Questions-1.pdf
PPTX
2016 - Orchestrating multi-container apps: How I came to love the pod
PDF
eZ Publish 5: from zero to automated deployment (and no regressions!) in one ...
PPTX
quantumcomputing-1234567890987654321.pptx
Containerization using docker and its applications
Containerization using docker and its applications
Ansible Oxford - Cows & Containers
The Container Revolution: Reflections after the first decade
Supercharge ml using docker
Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...
mpandya_poster
Java developer intro to environment management with vagrant puppet and docker
Using Minikube for Node.js development
141204 upload
Docker Introduction
Docker in development
Introduction to Docker
Docker on a Diet
Quest overview
Docker interview Questions-1.pdf
2016 - Orchestrating multi-container apps: How I came to love the pod
eZ Publish 5: from zero to automated deployment (and no regressions!) in one ...
quantumcomputing-1234567890987654321.pptx

More from Docker, Inc. (20)

PDF
Containerize Your Game Server for the Best Multiplayer Experience
PDF
How to Improve Your Image Builds Using Advance Docker Build
PDF
Build & Deploy Multi-Container Applications to AWS
PDF
Securing Your Containerized Applications with NGINX
PDF
How To Build and Run Node Apps with Docker and Compose
PDF
Hands-on Helm
PDF
Distributed Deep Learning with Docker at Salesforce
PDF
The First 10M Pulls: Building The Official Curl Image for Docker Hub
PDF
Monitoring in a Microservices World
PDF
COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...
PDF
Predicting Space Weather with Docker
PDF
Become a Docker Power User With Microsoft Visual Studio Code
PDF
How to Use Mirroring and Caching to Optimize your Container Registry
PDF
Monolithic to Microservices + Docker = SDLC on Steroids!
PDF
Kubernetes at Datadog Scale
PDF
Labels, Labels, Labels
PDF
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
PDF
Build & Deploy Multi-Container Applications to AWS
PDF
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
PDF
Developing with Docker for the Arm Architecture
Containerize Your Game Server for the Best Multiplayer Experience
How to Improve Your Image Builds Using Advance Docker Build
Build & Deploy Multi-Container Applications to AWS
Securing Your Containerized Applications with NGINX
How To Build and Run Node Apps with Docker and Compose
Hands-on Helm
Distributed Deep Learning with Docker at Salesforce
The First 10M Pulls: Building The Official Curl Image for Docker Hub
Monitoring in a Microservices World
COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...
Predicting Space Weather with Docker
Become a Docker Power User With Microsoft Visual Studio Code
How to Use Mirroring and Caching to Optimize your Container Registry
Monolithic to Microservices + Docker = SDLC on Steroids!
Kubernetes at Datadog Scale
Labels, Labels, Labels
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
Build & Deploy Multi-Container Applications to AWS
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
Developing with Docker for the Arm Architecture

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Machine learning based COVID-19 study performance prediction
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Big Data Technologies - Introduction.pptx
PPTX
A Presentation on Artificial Intelligence
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
cuic standard and advanced reporting.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
20250228 LYD VKU AI Blended-Learning.pptx
CIFDAQ's Market Insight: SEC Turns Pro Crypto
MYSQL Presentation for SQL database connectivity
Machine learning based COVID-19 study performance prediction
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Big Data Technologies - Introduction.pptx
A Presentation on Artificial Intelligence
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Approach and Philosophy of On baking technology
Reach Out and Touch Someone: Haptics and Empathic Computing
Review of recent advances in non-invasive hemoglobin estimation
cuic standard and advanced reporting.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Unlocking AI with Model Context Protocol (MCP)
Mobile App Security Testing_ A Comprehensive Guide.pdf

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