SlideShare une entreprise Scribd logo
1  sur  45
Télécharger pour lire hors ligne
Whales, Clouds, and Bubbles…?
The fun and funds of Docker technology
Speaker introduction
• Documentation lead
• Been with Docker for over a
year
• Docker is my 9th startup
– Atlassian
– Palantir
– Ebay
– Tivoli
• Written technical documentation
• Designed & delivered training
• Co-founded a CRO
• Written web applications
• Designed user interfaces
• Build Doc Tools & Build
Processes
Mary Anthony
2
mary@docker.com
@moxiegirl on Github
@intsomniac on Twitter
Chick Lit
• The Broad Experience Podcast

http://www.thebroadexperience.com/

• Harvard Business Review (SEPTEMBER 2013 ISSUE)

https://hbr.org/2013/09/women-in-the-workplace-a-research-roundup
• What Works: Gender Equality by Design

Iris Bonnet

What Works shows what more can be 

done―often at shockingly low cost and 

surprisingly high speed.

3
Topics
• What is Docker?
• Why is container technology a big deal?
• Where to start when learning about Docker.
• Why business are looking to use Docker.
4
What is Docker?
6
Docker is…
• the name of a company
• A platform for developing, shipping, and running applications using
container technology
7
Why is container technology a big deal?
A History Lesson
One application on one physical server
In the Dark Ages
9
physical server
Host Operating System
Application
• Slow deployment times
• Huge costs
• Wasted resources
• Difficult to scale
• Difficult to migrate
• Vendor lock in
10
Limitations of application deployment in the dark ages
A History Lesson
physical server
Host Operating System
Application
A History Lesson
• One physical server can contain
multiple applications
• Each application runs in a virtual
machine (VM)
Introduction of hypervisor-based Virtualization
11
Host Operating System
Hypervisor
physical server
VM
Application
Guest
Operating
System
VM
Application
Guest
Operating
System
VM
Application
Guest
Operating
System
• Better resource pooling
– One physical machine divided into multiple virtual machines
• Easier to scale
• VM’s in the cloud
– Rapid elasticity
– Pay as you go model
12
Golden age of virtual machines
A History Lesson
• Each VM stills requires
– CPU allocation
– Storage
– RAM
– An entire guest operating system
• The more VM’s you run, the more resources you need
• Guest OS means wasted resources
• Application portability not guaranteed
13
Limitations of virtual machines
A History Lesson
Enter the new age of containers
• Each root file system is called a
container
• Each container also has its own
– Processes
– Memory
– Devices
– Network stack
14
Containers use the kernel of the host operating system to run multiple root
file systems.
physical OR virtual server
Host Operating System
OS Kernel
Container
Application
Container
Application
Container
Application
Container
Application
Container
Application
Container
Application
• Containers are lighter weight
• No need to install guest OS
• Less CPU, RAM, storage space required
• More containers per machine than VMs
Containers vs virtual machine’s
15
physical OR virtual server
Host Operating System
OS Kernel
Container
Application
Container
Application
Container
Application
Host Operating System
Hypervisor
physical server
VM
Application
Guest
Operating
System
VM
Application
Guest
Operating
System
VM
Application
Guest
Operating
System
• LXC is an operating-system-level virtualization that provides a virtual
environment
• Containers spin up as fast as a process
• The filesystem can be much smaller than a VM
• Are easily ported between machines
What makes containers lighter
16
DEMO TIME
Run a simple container
18
Docker Engine powers 

our container technology.
To learn “Docker”, start with Docker
Engine
Docker Engine
• Docker Engine is the
program that enables
containers
• Server - client architecture
• Engine daemon long-running
process manages Docker
resources
• Command line client wraps
the Engine REST API
20
Engine and the Linux Kernel
• Engine daemon runs on a
Linux operating system
• The machine where the
daemon is installed is a
Docker host
• You can install the CLI on the
same host but it can also be
on a different host
• Use the CLI to spawn
multiple containers
21
What is inside a container?
• own process space isolated from the host
• own network interfaces
• can run as root inside a container
• can install new packages
• can run services
22
A just-enough environment
What is inside a container?
23
• At base a minimal file-system distribution
• Ubuntu
• Debian
• Centos
• Can include lots more
• a process to run
• an application
• ports to expose
• data
A Docker image — a read-only template for instantiating a container
Where do images come from?
24
Docker Hub is the public
registry that contains a large
number of images available
for your use.
• Companies that want to
promote their software
• Users that want to enable
others
• You
DEMO TIME
Run a simple container
Images and containers
26
• The container is your isolated application platform.
• You start a container from an image.
• You can modify the container with run options or after, while its running.
How to think about them
Other Docker resources
27
• By modifying the Engine daemon start options or using docker run options:
• Meter and/or limit on a container’s kernel resources (memory, cpu) using
cgroups
• Use namespaces to limit what a user / process can see in a container
• Choose a different storage driver to manage Docker images run inside a
container
• You can create networks of containers
• You can create data volumes that containers can share
Beyond just running an image
DEMO TIME
Run something more interesting
Recap the container lifecycle
• Basic lifecycle of a Docker container
– Create container from image
– Run container with a specified process
– Process finishes and container stops
– Destroy container
• More advanced lifecycle
– Create one or more containers from different image
– Run container with a specified process
– Interact and perform exchange data among a set of containers
– Stop the container
– Restart the container
29
Beyond just running an image
The business of containers
Why does business like container technology?
• Deployment on premise and in the cloud
• Easier configuration management among team members
• Big application broken into small services
• Reduce manual, unique complex deployment scenarios
• Services are decoupled, built iteratively and scaled out
• Scaling, load balancing, and monitoring are easier
31
Microservice architecture
The deployment nightmare
32
Do services and
apps interact
appropriately?
Can I migrate
quickly and
smoothly?
Multiple
development
stacks
Multiple
hardware
environments
The deployment nightmare (cont’d)
33
The shipping container
34
Do I worry
about how
goods
interact? (i.e.
place coffee
beans next to
spices)
Can I
transport
quickly and
smoothy? (i.e
unload from
ship onto
train)
Multiple
types of
goods
Multiple
methods of
transportati
on
Docker containers
35
Do services
and apps
interact
appropriately?
Can I
migrate
quickly
and
smoothly?
Multiple
development
stacks
Multiple
hardware
environment
s
Solving the deployment matrix
36
More Docker technology
Provision your team or your cloud
• Provisions one, more, or many Engines
• May be on premise or in the cloud
• Supports multiple operating systems
• Enable developers on Windows or Mac to use
Docker products
38
Docker Machine
DEMO TIME
Docker Machine
Develop on a single node
• Describe a container stack in a simple config file
• Start the stack with a single command
• Connect the containers within an overlay container network
• Aggregate logs
40
Docker Compose
Compose file
41
version: '2'
services:
web:
build: .
ports:
- "5000:5000"
volumes:
- .:/code
depends_on:
- redis
redis:
image: redis
YAML file
Dynamic resource scaling
• Dispatch clusters of containers across multiple
Engine
• Speaks the Engine API
• Schedule containers using filters, metadata and
more
• Adds high availability features
• Combine with Compose
42
Docker Swarm
Docker technology
• Docker Hub
• Docker Cloud
• Docker Data Center
• Docker Commercially Supported Engine
• Docker Trusted Registry
• Docker Universal Control Plane
• Docker Registry
• Docker Notary
43
And more still…
Take aways
• Docker is a company name and its is synonymous with container
technology.
• Containers are quickly replacing virtual machines because the enable
more efficient resource usr.
• Docker Engine enables all Docker technology; start with Engine first
when learning.
• Containers are created from images.
• Images describe application configurations.
• Container technology enables microservice architectures the new
business it word.
44
THANK YOU

Contenu connexe

Tendances

Docker Containers Deep Dive
Docker Containers Deep DiveDocker Containers Deep Dive
Docker Containers Deep DiveWill Kinard
 
Docker-N-Beyond
Docker-N-BeyondDocker-N-Beyond
Docker-N-Beyondsantosh007
 
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...Edureka!
 
Openstack starter-guide-diablo
Openstack starter-guide-diabloOpenstack starter-guide-diablo
Openstack starter-guide-diablobabycat_feifei
 
Virtual machines and containers
Virtual machines and containersVirtual machines and containers
Virtual machines and containersPatrick Pierson
 
Docker's Killer Feature: The Remote API
Docker's Killer Feature: The Remote APIDocker's Killer Feature: The Remote API
Docker's Killer Feature: The Remote APIbcantrill
 
Introduction to Docker and all things containers, Docker Meetup at RelateIQ
Introduction to Docker and all things containers, Docker Meetup at RelateIQIntroduction to Docker and all things containers, Docker Meetup at RelateIQ
Introduction to Docker and all things containers, Docker Meetup at RelateIQdotCloud
 
Introduction to Docker - VIT Campus
Introduction to Docker - VIT CampusIntroduction to Docker - VIT Campus
Introduction to Docker - VIT CampusAjeet Singh Raina
 
Docker 101 : Introduction to Docker and Containers
Docker 101 : Introduction to Docker and ContainersDocker 101 : Introduction to Docker and Containers
Docker 101 : Introduction to Docker and ContainersYajushi Srivastava
 
Demystifying Containerization Principles for Data Scientists
Demystifying Containerization Principles for Data ScientistsDemystifying Containerization Principles for Data Scientists
Demystifying Containerization Principles for Data ScientistsDr Ganesh Iyer
 
Virtualization Vs. Containers
Virtualization Vs. ContainersVirtualization Vs. Containers
Virtualization Vs. Containersactualtechmedia
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)Gourav Varma
 
Docker 101 - High level introduction to docker
Docker 101 - High level introduction to dockerDocker 101 - High level introduction to docker
Docker 101 - High level introduction to dockerDr Ganesh Iyer
 
Containers #101 Meetup: Containers & OpenStack
Containers #101 Meetup: Containers & OpenStack Containers #101 Meetup: Containers & OpenStack
Containers #101 Meetup: Containers & OpenStack Brittany Ingram
 
Containers #101 Meetup: Containers and OpenStack
Containers #101 Meetup: Containers and OpenStackContainers #101 Meetup: Containers and OpenStack
Containers #101 Meetup: Containers and OpenStackCodefresh
 
Docker based-pipelines
Docker based-pipelinesDocker based-pipelines
Docker based-pipelinesDevOps.com
 

Tendances (20)

Docker Containers Deep Dive
Docker Containers Deep DiveDocker Containers Deep Dive
Docker Containers Deep Dive
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
Docker-N-Beyond
Docker-N-BeyondDocker-N-Beyond
Docker-N-Beyond
 
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
 
Openstack starter-guide-diablo
Openstack starter-guide-diabloOpenstack starter-guide-diablo
Openstack starter-guide-diablo
 
Virtual machines and containers
Virtual machines and containersVirtual machines and containers
Virtual machines and containers
 
Docker's Killer Feature: The Remote API
Docker's Killer Feature: The Remote APIDocker's Killer Feature: The Remote API
Docker's Killer Feature: The Remote API
 
Introduction to Docker and all things containers, Docker Meetup at RelateIQ
Introduction to Docker and all things containers, Docker Meetup at RelateIQIntroduction to Docker and all things containers, Docker Meetup at RelateIQ
Introduction to Docker and all things containers, Docker Meetup at RelateIQ
 
Introduction to Docker - VIT Campus
Introduction to Docker - VIT CampusIntroduction to Docker - VIT Campus
Introduction to Docker - VIT Campus
 
Introduction To Docker
Introduction To DockerIntroduction To Docker
Introduction To Docker
 
Docker 101 : Introduction to Docker and Containers
Docker 101 : Introduction to Docker and ContainersDocker 101 : Introduction to Docker and Containers
Docker 101 : Introduction to Docker and Containers
 
Containerization
ContainerizationContainerization
Containerization
 
Demystifying Containerization Principles for Data Scientists
Demystifying Containerization Principles for Data ScientistsDemystifying Containerization Principles for Data Scientists
Demystifying Containerization Principles for Data Scientists
 
Docker Workshop
Docker WorkshopDocker Workshop
Docker Workshop
 
Virtualization Vs. Containers
Virtualization Vs. ContainersVirtualization Vs. Containers
Virtualization Vs. Containers
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)
 
Docker 101 - High level introduction to docker
Docker 101 - High level introduction to dockerDocker 101 - High level introduction to docker
Docker 101 - High level introduction to docker
 
Containers #101 Meetup: Containers & OpenStack
Containers #101 Meetup: Containers & OpenStack Containers #101 Meetup: Containers & OpenStack
Containers #101 Meetup: Containers & OpenStack
 
Containers #101 Meetup: Containers and OpenStack
Containers #101 Meetup: Containers and OpenStackContainers #101 Meetup: Containers and OpenStack
Containers #101 Meetup: Containers and OpenStack
 
Docker based-pipelines
Docker based-pipelinesDocker based-pipelines
Docker based-pipelines
 

En vedette

Res - karthikeyan 14 yrs exp in SCM Procurement Sourcing - updated lk
Res - karthikeyan 14 yrs exp in SCM Procurement Sourcing - updated lkRes - karthikeyan 14 yrs exp in SCM Procurement Sourcing - updated lk
Res - karthikeyan 14 yrs exp in SCM Procurement Sourcing - updated lkkarthikeyan Arumugam
 
wesley annual report latest nov 2016
wesley annual report latest nov 2016wesley annual report latest nov 2016
wesley annual report latest nov 2016stevevegh
 
Sightlines 2015 State of Facilities: An In-Depth Look at Capital Trends
Sightlines 2015 State of Facilities: An In-Depth Look at Capital TrendsSightlines 2015 State of Facilities: An In-Depth Look at Capital Trends
Sightlines 2015 State of Facilities: An In-Depth Look at Capital TrendsSightlines
 
LeadMD's How to Navigate the Nurture Apocalypse [Infographic]
LeadMD's How to Navigate the Nurture Apocalypse [Infographic]LeadMD's How to Navigate the Nurture Apocalypse [Infographic]
LeadMD's How to Navigate the Nurture Apocalypse [Infographic]LeadMD
 
Comparative Analysis Essay -GYN
Comparative Analysis Essay -GYNComparative Analysis Essay -GYN
Comparative Analysis Essay -GYNCrysmond Goh
 
Getting Help with Marketo
Getting Help with MarketoGetting Help with Marketo
Getting Help with MarketoJosh Hill
 
Opp plan fortuna comercial ago 2016 lideres v5
Opp plan fortuna comercial ago 2016 lideres v5Opp plan fortuna comercial ago 2016 lideres v5
Opp plan fortuna comercial ago 2016 lideres v5Edwin Garcia Molina
 
Salesforce integration with Marketo
Salesforce integration with MarketoSalesforce integration with Marketo
Salesforce integration with MarketoConnecting Software
 
Curso Diseño Web Back-End - Presentación
Curso Diseño Web Back-End - PresentaciónCurso Diseño Web Back-End - Presentación
Curso Diseño Web Back-End - Presentacióndanilohnr
 
Amcat test-question-papers
Amcat test-question-papersAmcat test-question-papers
Amcat test-question-papersbaskarram
 
tugasan 6 : Pemanasan global
tugasan 6 : Pemanasan globaltugasan 6 : Pemanasan global
tugasan 6 : Pemanasan globalnurul hidayah
 
презентация бц на ул. п коммуны д.26
презентация бц на ул. п коммуны д.26презентация бц на ул. п коммуны д.26
презентация бц на ул. п коммуны д.26arenda-servis-kazan
 
Account Based Marketing Success Path - Infrastructure and Campaign Secrets
Account Based Marketing Success Path - Infrastructure and Campaign SecretsAccount Based Marketing Success Path - Infrastructure and Campaign Secrets
Account Based Marketing Success Path - Infrastructure and Campaign SecretsJosh Hill
 
From Boiler Room to Board Room: Creating Alignment with Non-Facilities Profes...
From Boiler Room to Board Room: Creating Alignment with Non-Facilities Profes...From Boiler Room to Board Room: Creating Alignment with Non-Facilities Profes...
From Boiler Room to Board Room: Creating Alignment with Non-Facilities Profes...Sightlines
 
How to Use Marketo Analytics
How to Use Marketo AnalyticsHow to Use Marketo Analytics
How to Use Marketo AnalyticsJosh Hill
 

En vedette (18)

Res - karthikeyan 14 yrs exp in SCM Procurement Sourcing - updated lk
Res - karthikeyan 14 yrs exp in SCM Procurement Sourcing - updated lkRes - karthikeyan 14 yrs exp in SCM Procurement Sourcing - updated lk
Res - karthikeyan 14 yrs exp in SCM Procurement Sourcing - updated lk
 
wesley annual report latest nov 2016
wesley annual report latest nov 2016wesley annual report latest nov 2016
wesley annual report latest nov 2016
 
Sightlines 2015 State of Facilities: An In-Depth Look at Capital Trends
Sightlines 2015 State of Facilities: An In-Depth Look at Capital TrendsSightlines 2015 State of Facilities: An In-Depth Look at Capital Trends
Sightlines 2015 State of Facilities: An In-Depth Look at Capital Trends
 
LeadMD's How to Navigate the Nurture Apocalypse [Infographic]
LeadMD's How to Navigate the Nurture Apocalypse [Infographic]LeadMD's How to Navigate the Nurture Apocalypse [Infographic]
LeadMD's How to Navigate the Nurture Apocalypse [Infographic]
 
Comparative Analysis Essay -GYN
Comparative Analysis Essay -GYNComparative Analysis Essay -GYN
Comparative Analysis Essay -GYN
 
Getting Help with Marketo
Getting Help with MarketoGetting Help with Marketo
Getting Help with Marketo
 
Opp plan fortuna comercial ago 2016 lideres v5
Opp plan fortuna comercial ago 2016 lideres v5Opp plan fortuna comercial ago 2016 lideres v5
Opp plan fortuna comercial ago 2016 lideres v5
 
Presentation1
Presentation1Presentation1
Presentation1
 
Salesforce integration with Marketo
Salesforce integration with MarketoSalesforce integration with Marketo
Salesforce integration with Marketo
 
Curso Diseño Web Back-End - Presentación
Curso Diseño Web Back-End - PresentaciónCurso Diseño Web Back-End - Presentación
Curso Diseño Web Back-End - Presentación
 
Amcat test-question-papers
Amcat test-question-papersAmcat test-question-papers
Amcat test-question-papers
 
Dezembro jardim
Dezembro jardimDezembro jardim
Dezembro jardim
 
tugasan 6 : Pemanasan global
tugasan 6 : Pemanasan globaltugasan 6 : Pemanasan global
tugasan 6 : Pemanasan global
 
презентация бц на ул. п коммуны д.26
презентация бц на ул. п коммуны д.26презентация бц на ул. п коммуны д.26
презентация бц на ул. п коммуны д.26
 
Account Based Marketing Success Path - Infrastructure and Campaign Secrets
Account Based Marketing Success Path - Infrastructure and Campaign SecretsAccount Based Marketing Success Path - Infrastructure and Campaign Secrets
Account Based Marketing Success Path - Infrastructure and Campaign Secrets
 
From Boiler Room to Board Room: Creating Alignment with Non-Facilities Profes...
From Boiler Room to Board Room: Creating Alignment with Non-Facilities Profes...From Boiler Room to Board Room: Creating Alignment with Non-Facilities Profes...
From Boiler Room to Board Room: Creating Alignment with Non-Facilities Profes...
 
Building a startup that matters
Building a startup that mattersBuilding a startup that matters
Building a startup that matters
 
How to Use Marketo Analytics
How to Use Marketo AnalyticsHow to Use Marketo Analytics
How to Use Marketo Analytics
 

Similaire à Whales, Clouds, and Bubbles...?

Using Docker in production: Get started today!
Using Docker in production: Get started today!Using Docker in production: Get started today!
Using Docker in production: Get started today!Clarence Bakirtzidis
 
An Introduction To Docker
An Introduction To  DockerAn Introduction To  Docker
An Introduction To DockerGabriella Davis
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to DockerAditya Konarde
 
Containers and Microservices for Realists
Containers and Microservices for RealistsContainers and Microservices for Realists
Containers and Microservices for RealistsOracle Developers
 
Containers and microservices for realists
Containers and microservices for realistsContainers and microservices for realists
Containers and microservices for realistsKarthik Gaekwad
 
Containers, microservices and serverless for realists
Containers, microservices and serverless for realistsContainers, microservices and serverless for realists
Containers, microservices and serverless for realistsKarthik Gaekwad
 
Built in NM - Meetup Talk - CTL Labs
Built in NM - Meetup Talk - CTL LabsBuilt in NM - Meetup Talk - CTL Labs
Built in NM - Meetup Talk - CTL LabsRoss Jimenez
 
Devoxx 2016 - Docker Nuts and Bolts
Devoxx 2016 - Docker Nuts and BoltsDevoxx 2016 - Docker Nuts and Bolts
Devoxx 2016 - Docker Nuts and BoltsPatrick Chanezon
 
Week 8 lecture material
Week 8 lecture materialWeek 8 lecture material
Week 8 lecture materialAnkit Gupta
 
An Introduction To Docker
An Introduction To DockerAn Introduction To Docker
An Introduction To DockerGabriella Davis
 
A curtain-raiser to the container world Docker & Kubernetes
A curtain-raiser to the container world Docker & KubernetesA curtain-raiser to the container world Docker & Kubernetes
A curtain-raiser to the container world Docker & KuberneteszekeLabs Technologies
 
2014, April 15, Atlanta Java Users Group
2014, April 15, Atlanta Java Users Group2014, April 15, Atlanta Java Users Group
2014, April 15, Atlanta Java Users GroupTodd Fritz
 
Docker - HieuHoang
Docker - HieuHoangDocker - HieuHoang
Docker - HieuHoangHieu Hoang
 
An introduction to configuring Domino for Docker
An introduction to configuring Domino for DockerAn introduction to configuring Domino for Docker
An introduction to configuring Domino for DockerGabriella Davis
 
Rami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with DockerRami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with DockerWeb à Québec
 
Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015WaveMaker, Inc.
 

Similaire à Whales, Clouds, and Bubbles...? (20)

Using Docker in production: Get started today!
Using Docker in production: Get started today!Using Docker in production: Get started today!
Using Docker in production: Get started today!
 
An Introduction To Docker
An Introduction To  DockerAn Introduction To  Docker
An Introduction To Docker
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
Containers and Microservices for Realists
Containers and Microservices for RealistsContainers and Microservices for Realists
Containers and Microservices for Realists
 
Containers and microservices for realists
Containers and microservices for realistsContainers and microservices for realists
Containers and microservices for realists
 
Containers, microservices and serverless for realists
Containers, microservices and serverless for realistsContainers, microservices and serverless for realists
Containers, microservices and serverless for realists
 
Built in NM - Meetup Talk - CTL Labs
Built in NM - Meetup Talk - CTL LabsBuilt in NM - Meetup Talk - CTL Labs
Built in NM - Meetup Talk - CTL Labs
 
Introduction to container based virtualization with docker
Introduction to container based virtualization with dockerIntroduction to container based virtualization with docker
Introduction to container based virtualization with docker
 
Why to Cloud Native
Why to Cloud NativeWhy to Cloud Native
Why to Cloud Native
 
Devoxx 2016 - Docker Nuts and Bolts
Devoxx 2016 - Docker Nuts and BoltsDevoxx 2016 - Docker Nuts and Bolts
Devoxx 2016 - Docker Nuts and Bolts
 
A to Z of Docker
A to Z of DockerA to Z of Docker
A to Z of Docker
 
Week 8 lecture material
Week 8 lecture materialWeek 8 lecture material
Week 8 lecture material
 
Docker for dev
Docker for devDocker for dev
Docker for dev
 
An Introduction To Docker
An Introduction To DockerAn Introduction To Docker
An Introduction To Docker
 
A curtain-raiser to the container world Docker & Kubernetes
A curtain-raiser to the container world Docker & KubernetesA curtain-raiser to the container world Docker & Kubernetes
A curtain-raiser to the container world Docker & Kubernetes
 
2014, April 15, Atlanta Java Users Group
2014, April 15, Atlanta Java Users Group2014, April 15, Atlanta Java Users Group
2014, April 15, Atlanta Java Users Group
 
Docker - HieuHoang
Docker - HieuHoangDocker - HieuHoang
Docker - HieuHoang
 
An introduction to configuring Domino for Docker
An introduction to configuring Domino for DockerAn introduction to configuring Domino for Docker
An introduction to configuring Domino for Docker
 
Rami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with DockerRami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with Docker
 
Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015
 

Dernier

Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....ShaimaaMohamedGalal
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 

Dernier (20)

Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 

Whales, Clouds, and Bubbles...?

  • 1. Whales, Clouds, and Bubbles…? The fun and funds of Docker technology
  • 2. Speaker introduction • Documentation lead • Been with Docker for over a year • Docker is my 9th startup – Atlassian – Palantir – Ebay – Tivoli • Written technical documentation • Designed & delivered training • Co-founded a CRO • Written web applications • Designed user interfaces • Build Doc Tools & Build Processes Mary Anthony 2 mary@docker.com @moxiegirl on Github @intsomniac on Twitter
  • 3. Chick Lit • The Broad Experience Podcast
 http://www.thebroadexperience.com/
 • Harvard Business Review (SEPTEMBER 2013 ISSUE)
 https://hbr.org/2013/09/women-in-the-workplace-a-research-roundup • What Works: Gender Equality by Design
 Iris Bonnet
 What Works shows what more can be 
 done―often at shockingly low cost and 
 surprisingly high speed.
 3
  • 4. Topics • What is Docker? • Why is container technology a big deal? • Where to start when learning about Docker. • Why business are looking to use Docker. 4
  • 6. 6
  • 7. Docker is… • the name of a company • A platform for developing, shipping, and running applications using container technology 7
  • 8. Why is container technology a big deal?
  • 9. A History Lesson One application on one physical server In the Dark Ages 9 physical server Host Operating System Application
  • 10. • Slow deployment times • Huge costs • Wasted resources • Difficult to scale • Difficult to migrate • Vendor lock in 10 Limitations of application deployment in the dark ages A History Lesson physical server Host Operating System Application
  • 11. A History Lesson • One physical server can contain multiple applications • Each application runs in a virtual machine (VM) Introduction of hypervisor-based Virtualization 11 Host Operating System Hypervisor physical server VM Application Guest Operating System VM Application Guest Operating System VM Application Guest Operating System
  • 12. • Better resource pooling – One physical machine divided into multiple virtual machines • Easier to scale • VM’s in the cloud – Rapid elasticity – Pay as you go model 12 Golden age of virtual machines A History Lesson
  • 13. • Each VM stills requires – CPU allocation – Storage – RAM – An entire guest operating system • The more VM’s you run, the more resources you need • Guest OS means wasted resources • Application portability not guaranteed 13 Limitations of virtual machines A History Lesson
  • 14. Enter the new age of containers • Each root file system is called a container • Each container also has its own – Processes – Memory – Devices – Network stack 14 Containers use the kernel of the host operating system to run multiple root file systems. physical OR virtual server Host Operating System OS Kernel Container Application Container Application Container Application
  • 15. Container Application Container Application Container Application • Containers are lighter weight • No need to install guest OS • Less CPU, RAM, storage space required • More containers per machine than VMs Containers vs virtual machine’s 15 physical OR virtual server Host Operating System OS Kernel Container Application Container Application Container Application Host Operating System Hypervisor physical server VM Application Guest Operating System VM Application Guest Operating System VM Application Guest Operating System
  • 16. • LXC is an operating-system-level virtualization that provides a virtual environment • Containers spin up as fast as a process • The filesystem can be much smaller than a VM • Are easily ported between machines What makes containers lighter 16
  • 17. DEMO TIME Run a simple container
  • 18. 18 Docker Engine powers 
 our container technology.
  • 19. To learn “Docker”, start with Docker Engine
  • 20. Docker Engine • Docker Engine is the program that enables containers • Server - client architecture • Engine daemon long-running process manages Docker resources • Command line client wraps the Engine REST API 20
  • 21. Engine and the Linux Kernel • Engine daemon runs on a Linux operating system • The machine where the daemon is installed is a Docker host • You can install the CLI on the same host but it can also be on a different host • Use the CLI to spawn multiple containers 21
  • 22. What is inside a container? • own process space isolated from the host • own network interfaces • can run as root inside a container • can install new packages • can run services 22 A just-enough environment
  • 23. What is inside a container? 23 • At base a minimal file-system distribution • Ubuntu • Debian • Centos • Can include lots more • a process to run • an application • ports to expose • data A Docker image — a read-only template for instantiating a container
  • 24. Where do images come from? 24 Docker Hub is the public registry that contains a large number of images available for your use. • Companies that want to promote their software • Users that want to enable others • You
  • 25. DEMO TIME Run a simple container
  • 26. Images and containers 26 • The container is your isolated application platform. • You start a container from an image. • You can modify the container with run options or after, while its running. How to think about them
  • 27. Other Docker resources 27 • By modifying the Engine daemon start options or using docker run options: • Meter and/or limit on a container’s kernel resources (memory, cpu) using cgroups • Use namespaces to limit what a user / process can see in a container • Choose a different storage driver to manage Docker images run inside a container • You can create networks of containers • You can create data volumes that containers can share Beyond just running an image
  • 28. DEMO TIME Run something more interesting
  • 29. Recap the container lifecycle • Basic lifecycle of a Docker container – Create container from image – Run container with a specified process – Process finishes and container stops – Destroy container • More advanced lifecycle – Create one or more containers from different image – Run container with a specified process – Interact and perform exchange data among a set of containers – Stop the container – Restart the container 29 Beyond just running an image
  • 30. The business of containers
  • 31. Why does business like container technology? • Deployment on premise and in the cloud • Easier configuration management among team members • Big application broken into small services • Reduce manual, unique complex deployment scenarios • Services are decoupled, built iteratively and scaled out • Scaling, load balancing, and monitoring are easier 31 Microservice architecture
  • 32. The deployment nightmare 32 Do services and apps interact appropriately? Can I migrate quickly and smoothly? Multiple development stacks Multiple hardware environments
  • 33. The deployment nightmare (cont’d) 33
  • 34. The shipping container 34 Do I worry about how goods interact? (i.e. place coffee beans next to spices) Can I transport quickly and smoothy? (i.e unload from ship onto train) Multiple types of goods Multiple methods of transportati on
  • 35. Docker containers 35 Do services and apps interact appropriately? Can I migrate quickly and smoothly? Multiple development stacks Multiple hardware environment s
  • 38. Provision your team or your cloud • Provisions one, more, or many Engines • May be on premise or in the cloud • Supports multiple operating systems • Enable developers on Windows or Mac to use Docker products 38 Docker Machine
  • 40. Develop on a single node • Describe a container stack in a simple config file • Start the stack with a single command • Connect the containers within an overlay container network • Aggregate logs 40 Docker Compose
  • 41. Compose file 41 version: '2' services: web: build: . ports: - "5000:5000" volumes: - .:/code depends_on: - redis redis: image: redis YAML file
  • 42. Dynamic resource scaling • Dispatch clusters of containers across multiple Engine • Speaks the Engine API • Schedule containers using filters, metadata and more • Adds high availability features • Combine with Compose 42 Docker Swarm
  • 43. Docker technology • Docker Hub • Docker Cloud • Docker Data Center • Docker Commercially Supported Engine • Docker Trusted Registry • Docker Universal Control Plane • Docker Registry • Docker Notary 43 And more still…
  • 44. Take aways • Docker is a company name and its is synonymous with container technology. • Containers are quickly replacing virtual machines because the enable more efficient resource usr. • Docker Engine enables all Docker technology; start with Engine first when learning. • Containers are created from images. • Images describe application configurations. • Container technology enables microservice architectures the new business it word. 44