Docker 
Charles Anderson 
Hack Salem - November 2014
What is Docker? 
• An open platform for developing, 
shipping, and running applications 
• Linux-based 
• Why? Speed - ship code faster, 
including test and deployment 
• A solution to “works on my machine” 
Not!
One Word: Containers!
Containers 
• Containers are a lightweight 
virtualization technology 
• User-mode virtualization - not 
hardware virtualization 
• Benefits: density, speed, portability 
• Not new, and Docker isn’t the first
Peace, Love and 
Understanding 
• Devs and ops working 
together with a 
common tool 
• “The real value of 
Docker is not 
technology. It’s getting 
people to agree on 
something.” - Solomon 
Hykes, CTO Docker
What’s a Container? 
• An isolated environment to run user-mode code 
• Looks like you have the OS to yourself 
• An initial file system called an image 
• Minimal - a lot less than a full Linux distro 
• Very fast to start - less than a second 
• Network connections
Images 
• Start with a base - very minimal 
• Add packages using usual tools - e.g. apt, yum 
• Dockerfile is a recipe to build the image 
• Not needed at run-time
Dockerfile 
FROM ubuntu:12.10 
RUN apt-get update && apt-get install -y redis-server 
EXPOSE 6379 
ENTRYPOINT ["/usr/bin/redis-server"]
Connections 
• Open network ports to the outside world 
• Connect ports between containers via a private 
network 
• Mount persistent storage - c.f. Amazon EBS
Zen of Containers 
• Devs fill containers - with code 
• Ops slings them around 
• c.f. intermodal cargo containers
Collaboration 
• Docker Hub provides a GitHub-like experience to 
publish/share containers 
• Traditional VMs hard to share 
• Automated build from GH or BB 
• Private DockerHub available 
• Private, on-premise registry available (& free)
Cold Fusion and Unicorns? 
• Image files are composed of layers - 
one for each step in Dockerfile 
• Each layer is actually an image 
• Each layer is a diff from the previous 
layer 
• The top layer is read-write 
• All done efficiently with union file system
No Neck Beard? 
No Problem 
• Boot2Docker runs on Mac and Windows to provide 
development environment to run Docker 
• VM running minimal Linux kernel and OS 
• Same idea is useful in production - CoreOS
More Info 
• Docker.io 
• DockerBook.com 
• Software Engineering Radio podcast - se-radio.net 
• December 2014

More Related Content

PPTX
DockerCon SF 2015: Networking Breakout
PPTX
Cohesion Techsessie Docker - Daniel Palstra
PDF
DockerCon SF 2015: Getting Started w/ Docker
PDF
Introduction to Docker - Docker workshop @Twitter
PDF
Intro to Docker
PDF
Intro to Docker - London meetup oct. 2013
PPTX
Central Iowa Linux Users Group: November Meeting -- Container showdown
PDF
DockerCon 2015: Docker Engine Breakout Session
DockerCon SF 2015: Networking Breakout
Cohesion Techsessie Docker - Daniel Palstra
DockerCon SF 2015: Getting Started w/ Docker
Introduction to Docker - Docker workshop @Twitter
Intro to Docker
Intro to Docker - London meetup oct. 2013
Central Iowa Linux Users Group: November Meeting -- Container showdown
DockerCon 2015: Docker Engine Breakout Session

What's hot (20)

PPTX
DockerCon SF 2015: Docker Community in China
PPTX
Docker intro
PDF
Butter bei die Fische - Ein Jahr Entwicklung und Produktion mit Docker
PPTX
Docker introduction
PPTX
Docker: From Zero to Hero
PPTX
Docker Basic Presentation
PPTX
Docker lxc win
PDF
Herding your cattle from dev to ops
PPTX
Docker Workshop
PPTX
Docker lightning
PPTX
Docker introduction
PDF
Docker 101 - Getting started
PDF
Securing Containers From Day One | null Ahmedabad Meetup
PPTX
Evotalks Docker Presentation
PDF
Docker uiappdev-201505
PDF
Nodejs OC Docker and Node
PPTX
PPTX
Docker Basics
PDF
Dockerizing your applications - Docker workshop @Twitter
PDF
Auto deploy symfony app with codeship and elastic beanstalk
DockerCon SF 2015: Docker Community in China
Docker intro
Butter bei die Fische - Ein Jahr Entwicklung und Produktion mit Docker
Docker introduction
Docker: From Zero to Hero
Docker Basic Presentation
Docker lxc win
Herding your cattle from dev to ops
Docker Workshop
Docker lightning
Docker introduction
Docker 101 - Getting started
Securing Containers From Day One | null Ahmedabad Meetup
Evotalks Docker Presentation
Docker uiappdev-201505
Nodejs OC Docker and Node
Docker Basics
Dockerizing your applications - Docker workshop @Twitter
Auto deploy symfony app with codeship and elastic beanstalk

Viewers also liked (20)

DOC
研发中心08年度计划书打印版
PPT
成功36式
PPT
培训与发展
PPT
《跟你的产品谈恋爱》
XLS
年度考核
PPTX
Youshi
PPT
Intro To Design Kitchen Bath
PPT
September 2 General Meeting
PPT
现代商务礼仪指引
PPT
November 4 General Meeting
PPT
Moss Week 10 Final With Answers
PPT
图表绘制
PDF
PPTX
工程实战
PPT
October 7 General Meeting
XLS
职前培训安排(好)
PPT
September 16 General Meeting
PDF
A Shallow Survey of Alternative Languages on the JVM
PDF
West of England Joint Spatial Plan - what the media is saying
PDF
科特勒营销案例
研发中心08年度计划书打印版
成功36式
培训与发展
《跟你的产品谈恋爱》
年度考核
Youshi
Intro To Design Kitchen Bath
September 2 General Meeting
现代商务礼仪指引
November 4 General Meeting
Moss Week 10 Final With Answers
图表绘制
工程实战
October 7 General Meeting
职前培训安排(好)
September 16 General Meeting
A Shallow Survey of Alternative Languages on the JVM
West of England Joint Spatial Plan - what the media is saying
科特勒营销案例

Similar to Docker - Hack Salem! - November 2014 (20)

PDF
Docker handons-workshop-for-charity
PDF
Docker Up and Running for Web Developers
PDF
Docker up and Running For Web Developers
PPTX
Docker - A curtain raiser to the Container world
PDF
Docker-v3.pdf
PDF
Docker at Djangocon 2013 | Talk by Ken Cochrane
PDF
Django and Docker
PDF
Introduction to Docker at the Azure Meet-up in New York
PDF
PDF
A Gentle Introduction to Docker and Containers
PPTX
Docker Ecosystem on Azure
PPTX
Intro to Docker November 2013
PPTX
Intro Docker october 2013
PDF
A curtain-raiser to the container world Docker & Kubernetes
PDF
Introduction to Docker and Containers
PDF
Introduction to Docker and all things containers, Docker Meetup at RelateIQ
PDF
A Gentle Introduction To Docker And All Things Containers
PDF
Introduction to Docker at Glidewell Laboratories in Orange County
PPTX
Docker
Docker handons-workshop-for-charity
Docker Up and Running for Web Developers
Docker up and Running For Web Developers
Docker - A curtain raiser to the Container world
Docker-v3.pdf
Docker at Djangocon 2013 | Talk by Ken Cochrane
Django and Docker
Introduction to Docker at the Azure Meet-up in New York
A Gentle Introduction to Docker and Containers
Docker Ecosystem on Azure
Intro to Docker November 2013
Intro Docker october 2013
A curtain-raiser to the container world Docker & Kubernetes
Introduction to Docker and Containers
Introduction to Docker and all things containers, Docker Meetup at RelateIQ
A Gentle Introduction To Docker And All Things Containers
Introduction to Docker at Glidewell Laboratories in Orange County
Docker

More from Charles Anderson (9)

PDF
Modern php
PDF
Literate Programming
PDF
Inrastructure as Code
PPTX
How to get a Software Job w/o Experience
PDF
A Brief Introduction to Redis
PDF
How to Get a Software Job w/o Experience
PPT
How To Protect Yourself and Your Computer Online
PDF
Jython: Integrating Python and Java
PDF
Groovy a Scripting Language for Java
Modern php
Literate Programming
Inrastructure as Code
How to get a Software Job w/o Experience
A Brief Introduction to Redis
How to Get a Software Job w/o Experience
How To Protect Yourself and Your Computer Online
Jython: Integrating Python and Java
Groovy a Scripting Language for Java

Recently uploaded (20)

PPTX
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
PDF
Autodesk AutoCAD Crack Free Download 2025
PDF
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
PPTX
Download Adobe Photoshop Crack 2025 Free
PDF
CCleaner 6.39.11548 Crack 2025 License Key
PPTX
Introduction to Windows Operating System
PDF
Introduction to Ragic - #1 No Code Tool For Digitalizing Your Business Proces...
PDF
MCP Security Tutorial - Beginner to Advanced
PDF
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
PPTX
Airline CRS | Airline CRS Systems | CRS System
PPTX
Tech Workshop Escape Room Tech Workshop
PDF
The Dynamic Duo Transforming Financial Accounting Systems Through Modern Expe...
PPTX
Cybersecurity: Protecting the Digital World
PPTX
"Secure File Sharing Solutions on AWS".pptx
PDF
Salesforce Agentforce AI Implementation.pdf
PDF
novaPDF Pro 11.9.482 Crack + License Key [Latest 2025]
PDF
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
PDF
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
DOCX
How to Use SharePoint as an ISO-Compliant Document Management System
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
Autodesk AutoCAD Crack Free Download 2025
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
Download Adobe Photoshop Crack 2025 Free
CCleaner 6.39.11548 Crack 2025 License Key
Introduction to Windows Operating System
Introduction to Ragic - #1 No Code Tool For Digitalizing Your Business Proces...
MCP Security Tutorial - Beginner to Advanced
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
Airline CRS | Airline CRS Systems | CRS System
Tech Workshop Escape Room Tech Workshop
The Dynamic Duo Transforming Financial Accounting Systems Through Modern Expe...
Cybersecurity: Protecting the Digital World
"Secure File Sharing Solutions on AWS".pptx
Salesforce Agentforce AI Implementation.pdf
novaPDF Pro 11.9.482 Crack + License Key [Latest 2025]
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
How to Use SharePoint as an ISO-Compliant Document Management System
Advanced SystemCare Ultimate Crack + Portable (2025)

Docker - Hack Salem! - November 2014

  • 1. Docker Charles Anderson Hack Salem - November 2014
  • 2. What is Docker? • An open platform for developing, shipping, and running applications • Linux-based • Why? Speed - ship code faster, including test and deployment • A solution to “works on my machine” Not!
  • 4. Containers • Containers are a lightweight virtualization technology • User-mode virtualization - not hardware virtualization • Benefits: density, speed, portability • Not new, and Docker isn’t the first
  • 5. Peace, Love and Understanding • Devs and ops working together with a common tool • “The real value of Docker is not technology. It’s getting people to agree on something.” - Solomon Hykes, CTO Docker
  • 6. What’s a Container? • An isolated environment to run user-mode code • Looks like you have the OS to yourself • An initial file system called an image • Minimal - a lot less than a full Linux distro • Very fast to start - less than a second • Network connections
  • 7. Images • Start with a base - very minimal • Add packages using usual tools - e.g. apt, yum • Dockerfile is a recipe to build the image • Not needed at run-time
  • 8. Dockerfile FROM ubuntu:12.10 RUN apt-get update && apt-get install -y redis-server EXPOSE 6379 ENTRYPOINT ["/usr/bin/redis-server"]
  • 9. Connections • Open network ports to the outside world • Connect ports between containers via a private network • Mount persistent storage - c.f. Amazon EBS
  • 10. Zen of Containers • Devs fill containers - with code • Ops slings them around • c.f. intermodal cargo containers
  • 11. Collaboration • Docker Hub provides a GitHub-like experience to publish/share containers • Traditional VMs hard to share • Automated build from GH or BB • Private DockerHub available • Private, on-premise registry available (& free)
  • 12. Cold Fusion and Unicorns? • Image files are composed of layers - one for each step in Dockerfile • Each layer is actually an image • Each layer is a diff from the previous layer • The top layer is read-write • All done efficiently with union file system
  • 13. No Neck Beard? No Problem • Boot2Docker runs on Mac and Windows to provide development environment to run Docker • VM running minimal Linux kernel and OS • Same idea is useful in production - CoreOS
  • 14. More Info • Docker.io • DockerBook.com • Software Engineering Radio podcast - se-radio.net • December 2014