Introduction to Docker 
Containerization is the new virtualization 
James Turnbull 
@kartar 
1
who 
• VP of Engineering at Kickstarter 
• Advisor at Docker 
• Open source chap 
• Funny accent 
2
Kickstarter live in 
Sweden 
3
The Docker Book 
www.dockerbook.com 
4
Who are you folks? 
5
What's this all about? 
6
What is Docker? 
7
Container 
virtualization 
8
Build, ship, run 
9
Build once 
10
Run in many places 
11
Isolated 
Layered 
Standard 
Content agnostic 
12
But this isn't new?!? 
13
So why should I care? 
Software delivery mechanism 
Portability 
A bit like a VM but ... 
14
... not like a VM 
1. Containers boot faster 
2. Containers have less overhead 
3. Containers bring native performance 
4. Containers are Cloud & VM-compatible 
15
Devs care about their 
app 
Ops cares about the 
containers 
16
Why developers care... 
• Clean, safe, hygienic and portable 
• No worries about dependencies 
• Encourage good architecture 
17
Why operations care... 
• Make the lifecycle more efficient 
• Eliminate inconsistencies 
• Support segregation of duties 
18
What can I use Docker for? 
• Docker for CI/CD 
• Packaging and deploying applications 
• Build your own PAAS 
• Deploy applications at hyperscale! 
19
Does this work with Puppet or Chef? 
• Chef and Puppet are state management tools 
• Less complex 
• Docker images are version controlled and layered 
• Smaller, self-contained and lightweight 
20
Technology Stack 
• Runs on most Linux distros 
• Boot2Docker for OSX and Windows 
• Windows in the works! 
• Uses Linux kernel features 
21
Docker Basics 
Image & Dockerfile 
The Docker Hub 
Container 
22
Building Docker images 
FROM ubuntu 
MAINTAINER James Turnbull "james@example.com" 
RUN apt-get -qqy update 
RUN apt-get install -qqy apache2 
ADD index.html /var/www/ 
ENV APACHE_RUN_USER www-data 
ENV APACHE_RUN_GROUP www-data 
ENV APACHE_LOG_DIR /var/log/apache2 
VOLUME [ "/var/log/apache2" ] 
EXPOSE 80 
ENTRYPOINT ["/usr/sbin/apache2"] 
CMD ["-D", "FOREGROUND"] 
23
Building the image 
$ sudo docker build -t="jamtur01/0redev" . 
24
Sharing the image 
$ sudo docker push jamtur01/0redev 
25
Running the container 
$ sudo docker run --name mywebsite -ti -p 80:80 jamtur01/0redev 
26
But there's more! 
27
What if we could 
componentize . . . 
28
SSH 
29
Managing a container 
$ sudo docker exec -ti mywebsite /bin/bash 
30
Scheduling and jobs 
31
Logging 
32
Logging container 
$ sudo docker run --volumes-from mywebsite -ti ubuntu tail -f /var/log/apache2/acccess.log 
33
Creates a new 
architecture 
34
A new architecture that ... 
• Separates orthogonal concerns 
• Don't rebuild your app to change services 
• Have different policies in domains 
• Ship lighter apps 
35
Questions? 
36

More Related Content

PDF
Orchestrating Docker - Making the Whale Dance
PDF
Docker for Developers
PDF
Fig for Local Development
PDF
Introduction to Docker
PDF
Intro to docker
PDF
Software archaeology for beginners: code, community and culture
PDF
Automating Docker Containers with Puppet 2014 10-13
PDF
Intro to Docker - London meetup oct. 2013
Orchestrating Docker - Making the Whale Dance
Docker for Developers
Fig for Local Development
Introduction to Docker
Intro to docker
Software archaeology for beginners: code, community and culture
Automating Docker Containers with Puppet 2014 10-13
Intro to Docker - London meetup oct. 2013

What's hot (20)

PPTX
Containers #101 : Docker ONBUILD triggers and Introduction to Docker Compose
PDF
From Zero Docker to Hackathon Winner - Marcos Lilljedahl and Jimena Tapia
PPTX
Introduction to docker and oci
PPTX
Dockerizing stashboard - Docker meetup at Twilio
PDF
Docker for Dummies
PPTX
Dockerize the World - presentation from Hradec Kralove
PDF
Containerization using docker
PDF
Dev with Docker WCPHX 2019
PDF
Shipping NodeJS with Docker and CoreOS
PDF
Docker for developers
PDF
Azure Meetup Stuttgart - Multi-arch Docker images
PPTX
Meetup docker paris
PPTX
Docker Compose: Docker Configuration for the Real World
PPTX
Introduction to docker
PDF
Bauen und Verteilen von Multi-Arch Docker Images für Linux und Windows
PPTX
Docker - 15 great Tutorials
PDF
From Arm to Z: Building, Shipping, and Running a Multi-platform Docker Swarm ...
PPTX
Cohesion Techsessie Docker - Daniel Palstra
PDF
Developer workflow with docker
PDF
Getting started with docker
Containers #101 : Docker ONBUILD triggers and Introduction to Docker Compose
From Zero Docker to Hackathon Winner - Marcos Lilljedahl and Jimena Tapia
Introduction to docker and oci
Dockerizing stashboard - Docker meetup at Twilio
Docker for Dummies
Dockerize the World - presentation from Hradec Kralove
Containerization using docker
Dev with Docker WCPHX 2019
Shipping NodeJS with Docker and CoreOS
Docker for developers
Azure Meetup Stuttgart - Multi-arch Docker images
Meetup docker paris
Docker Compose: Docker Configuration for the Real World
Introduction to docker
Bauen und Verteilen von Multi-Arch Docker Images für Linux und Windows
Docker - 15 great Tutorials
From Arm to Z: Building, Shipping, and Running a Multi-platform Docker Swarm ...
Cohesion Techsessie Docker - Daniel Palstra
Developer workflow with docker
Getting started with docker
Ad

Viewers also liked (13)

PPTX
Rollback: The Impossible Dream
PDF
Why Monitoring Sucks and what Configuration Management can do about it
PPT
State of the Puppet Community - PuppetConf 2012
PDF
Once upon a time: Why operations mythology matters
PDF
Monitoring As A Service - Modernity and Self-Service CraftConf 2016
PDF
Developing Good Operations Tools
PDF
Monitoring As a Service
PDF
LogStash - Yes, logging can be awesome
PDF
Monitoring As A Service - Monitorama 2015
PDF
Live migrating a container: pros, cons and gotchas
PDF
A Gentle Introduction To Docker And All Things Containers
PPTX
Docker introduction
PDF
Monitoring as a service - Velocity NYC 2015
Rollback: The Impossible Dream
Why Monitoring Sucks and what Configuration Management can do about it
State of the Puppet Community - PuppetConf 2012
Once upon a time: Why operations mythology matters
Monitoring As A Service - Modernity and Self-Service CraftConf 2016
Developing Good Operations Tools
Monitoring As a Service
LogStash - Yes, logging can be awesome
Monitoring As A Service - Monitorama 2015
Live migrating a container: pros, cons and gotchas
A Gentle Introduction To Docker And All Things Containers
Docker introduction
Monitoring as a service - Velocity NYC 2015
Ad

Similar to Introduction to Docker (20)

PPTX
Docker 101 describing basic docker usage
PPTX
Dockerize the World
PDF
The Docker Ecosystem
PDF
DevOps Fusion 2019: Docker - Why the future takes place in containers
PDF
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
PDF
Docker in the Oracle Universe / WebLogic 12c / OFM 12c
PDF
Docker handons-workshop-for-charity
PDF
Journey to the devops automation with docker kubernetes and openshift
PDF
Docker at Djangocon 2013 | Talk by Ken Cochrane
PDF
Django and Docker
PDF
Docker 101
PDF
Docker in pratice -chenyifei
PDF
DCSF 19 Building Your Development Pipeline
PDF
DCEU 18: Building Your Development Pipeline
PDF
Docker Introduction at GDG DevFest 2015 Lagos
PPTX
Docker & Daily DevOps
PPTX
Docker and-daily-devops
PDF
Velocity NYC 2017: Building Resilient Microservices with Kubernetes, Docker, ...
PDF
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
PDF
A curtain-raiser to the container world Docker & Kubernetes
Docker 101 describing basic docker usage
Dockerize the World
The Docker Ecosystem
DevOps Fusion 2019: Docker - Why the future takes place in containers
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
Docker in the Oracle Universe / WebLogic 12c / OFM 12c
Docker handons-workshop-for-charity
Journey to the devops automation with docker kubernetes and openshift
Docker at Djangocon 2013 | Talk by Ken Cochrane
Django and Docker
Docker 101
Docker in pratice -chenyifei
DCSF 19 Building Your Development Pipeline
DCEU 18: Building Your Development Pipeline
Docker Introduction at GDG DevFest 2015 Lagos
Docker & Daily DevOps
Docker and-daily-devops
Velocity NYC 2017: Building Resilient Microservices with Kubernetes, Docker, ...
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
A curtain-raiser to the container world Docker & Kubernetes

Recently uploaded (20)

PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PDF
Website Design Services for Small Businesses.pdf
PPTX
CNN LeNet5 Architecture: Neural Networks
PDF
AI Guide for Business Growth - Arna Softech
PDF
How Tridens DevSecOps Ensures Compliance, Security, and Agility
PPTX
Introduction to Windows Operating System
PDF
Time Tracking Features That Teams and Organizations Actually Need
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PDF
Topaz Photo AI Crack New Download (Latest 2025)
PDF
iTop VPN Crack Latest Version Full Key 2025
PDF
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
PDF
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
PDF
Autodesk AutoCAD Crack Free Download 2025
PDF
Cost to Outsource Software Development in 2025
PPTX
Weekly report ppt - harsh dattuprasad patel.pptx
PDF
CCleaner 6.39.11548 Crack 2025 License Key
DOCX
How to Use SharePoint as an ISO-Compliant Document Management System
PPTX
assetexplorer- product-overview - presentation
Why Generative AI is the Future of Content, Code & Creativity?
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
Website Design Services for Small Businesses.pdf
CNN LeNet5 Architecture: Neural Networks
AI Guide for Business Growth - Arna Softech
How Tridens DevSecOps Ensures Compliance, Security, and Agility
Introduction to Windows Operating System
Time Tracking Features That Teams and Organizations Actually Need
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Topaz Photo AI Crack New Download (Latest 2025)
iTop VPN Crack Latest Version Full Key 2025
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
Autodesk AutoCAD Crack Free Download 2025
Cost to Outsource Software Development in 2025
Weekly report ppt - harsh dattuprasad patel.pptx
CCleaner 6.39.11548 Crack 2025 License Key
How to Use SharePoint as an ISO-Compliant Document Management System
assetexplorer- product-overview - presentation

Introduction to Docker