SlideShare a Scribd company logo
1 of 48
YOU, ME, AND
DOCKER
MAKES THREE
The Ins and Outs of the Docker Ecosystem
INTRODUCTION
Talk
Roadmap
โ€ข What is Docker?
โ€ข The Docker Ecosystem
โ€“ Docker Engine
โ€“ Docker Registry
โ€“ Docker Machine
โ€“ Docker Compose
โ€“ Docker Swarm
โ€ข Demonstration
โ€ข Docker Pitfalls
โ€ข Security Considerations for Deploying Docker
โ€ข AdditionalThoughts
โ€ข Q&A
WHOAMI โ€ข ChristopherGrayson
โ€“ OSCE
โ€“ Former consultant at Bishop Fox
โ€“ MSCS, BSCM from GeorgiaTech
โ€“ Currently founder of Web Sight.IO
WHAT IS
DOCKER?
Docker 101
โ€ข Virtualization platform
โ€ข Virtualizes at the process level
โ€ข Runs in Linux
โ€ข Uses Linux kernel isolation primitives
Ok, But
Why?
โ€ข Consider traditional application of virtualization
โ€ข Significant overhead (single virtual host -> single virtual
application)
โ€ข Why virtualize at the OS level?
Traditional
Virtualization
(images from Docker web site)
Docker
Virtualization
(images from Docker web site)
โ€ฆStill Not
Convinced?
โ€ข When virtualization occurs at the process level, new
possibilities emerge
โ€ข Docker is not the first attempt, but has gotten a lot
right with their attempt
THE DOCKER
ECOSYSTEM
Docker
Engine
โ€ข Daemon that listens onTCP 2376 (3376 for swarm)
โ€ข Functionality invoked through API
โ€ข Command line interface provided by Docker
โ€ข Takes in images and settings, spins up โ€œcontainersโ€
(processes)
Docker
Images
โ€ข Tarballโ€™ed images of Linux filesystems
โ€ข Created through the use of Dockerfiles
โ€ข Encourages re-usability
Dockerfile
Example
Sequence of steps for building an image
Run through โ€œdocker buildโ€, outputs a
Docker image
Docker Build
Example
Build an image through โ€œdocker buildโ€
List all images available to the Docker
daemon through โ€œdocker imagesโ€
Docker
Engine
Steps
1. Create image
2. Ensure target docker daemon has access to image
3. Tell the daemon to run the image, and pass
arguments as necessary
4. ???
5. Profit
Docker
Engine
Perks
โ€ข Hierarchical organization of Docker images works well
with standard DevOps practices
โ€ข If an image runs in one location through a Docker
daemon, it is guaranteed to work on all other same-
version Docker daemons
โ€ข Rid yourself of dealing with dependency headaches
Docker
Registry
โ€ข Where Git has GitHub, Docker has Docker Registry
โ€ข Version control-esque endpoint for storing Docker
images
โ€ข Docker officially offers Docker Hub
โ€ข Can (and should) create and run your own Docker
registry
Docker
Registry
Example
After creating an image, push the image
through โ€œdocker pushโ€
Pull updated image copies from registry
through โ€œdocker pullโ€
Docker
Registry
Perks
โ€ข Single, authoritative location to store your Docker
images
โ€ข Follows the central repository model of Git, SVN, other
version control systems
โ€ข โ€ฆmy least favorite part of Docker
Docker
Machine
โ€ข Create new Docker daemons on local or remote hosts
โ€ข Remote hosts supported across all major hosting and
cloud providers
โ€ข Commands to create machines mostly the same โ€“ only
changes reflect API differences between providers
โ€ข Spins up host, installs docker, installs cryptographic
artifacts for secure communication
Docker
Machine
Examples
Create a new machine at DigitalOcean
using the docker-machine tool
Docker
Machine
Examples
List machines that your device can connect
with
Change the Docker daemon that your
docker client is configured to talk to
Docker
Machine
Contโ€™d
โ€ข Many other machine-specific functions available
through docker-machine
โ€ข Hardware/OS related? docker-machine does it
Docker
Machine
Perks
โ€ข Provider agnostic, and very easy to switch between
hosting providers (change a few command line
arguments)
โ€ข Go from no infrastructure to full infrastructure in <5
minutes
โ€ข Go from full infrastructure to no infrastructure in <30
seconds
Docker
Compose
โ€ข The โ€œorchestrationโ€ tool of the Docker ecosystem
โ€ข Enables spinning up N-tier applications in one fell
swoop
โ€ข Can spin up N-tier applications locally
โ€ข Only requires a docker-compose.yml file to spin up
complicated N-tier applications
Docker
Compose File
Example
Defines the various applications contained
within the N-tier application
Configuration passed to applications
through environment variables
Defines relationships between applications
and host OS
Docker
Compose
Example
Call docker-compose in a directory
containing docker-compose.yml file
File is read, images are retrieved,
containers are created
N-tier application goes from non-existent
to up and running in <30 seconds
Docker
Compose
Contโ€™d
โ€ข Reduces configuration management complexity to a
single config file
โ€ข Spin up overlay networks across disparate hosting
providers on the fly
โ€ข View logs across N-tier application in real time
Docker
Compose
Perks
โ€ข Can configure entire environment with one
configuration file
โ€ข Reduces the complexity of N-tier application
deployment and debugging
โ€ข Go from 0->60 and 60->0 faster than all traditional
approaches
Docker
Swarm
โ€ข Turn multiple separate physical hosts into a single
logical host
โ€ข Out of the box management of which containers are
deployed where without headache of configuration
โ€ข Fully configurable to any depth
Docker Swarm
Examples
Creating a swarm through docker-machine
Docker Swarm
Examples
Contโ€™d
Changing your Docker daemon to point to
the swarm daemon
Listing the computing resources available
to the Swarm Docker daemon
Docker
Swarm
Perks
โ€ข Difference between deploying to a single host and
deploying to 100 hosts is minimal โ€“ code does not
change between the two
โ€ข Transparently increase / decrease the power of your
distributed applications on the fly
โ€ข Single logical host across disparate hosts โ€“ even if
those hosts are in completely differeny physical
locations
Docker
Ecosystem
Review
โ€ข Docker Engine
โ€“ The core โ€œruntimeโ€ of the Docker ecosystem โ€“ takes in
Docker images and spins up isolated โ€œcontainers.โ€
โ€ข Docker Registry
โ€“ Enables the storage of Docker images in centralized fashion
โ€ข Docker Machine
โ€“ Create and/or destroy Docker daemons on local or remote
computing resources, automatically configure access to
these daemons
โ€ข Docker Compose
โ€“ Spin up/down N-tier applications in rapid fashion, drill down
into N-tier deployment options as necessary
โ€ข Docker Swarm
โ€“ Turn multiple physical or virtual hosts into a single logical
host as far as Docker daemon is concerned
DEMONSTRATION
Putting it
All Together
โ€ข Docker is a core component ofWeb Sight.IO
โ€ข One of the main reasons Iโ€™ve been able to stay a one-
man shop
โ€ข Reduced my need for DevOps assistance to nearly
nothing
DOCKER
PITFALLS
Nothing is
Perfect
โ€ข Various Docker offerings written in different languages
โ€ข Terminology has not been consolidated across
offerings
โ€ข Still very much in development โ€“ breaking bugs
introduced in even minor version updates
โ€ข Docker networking not particularly robust (userland
UDP proxy?)
โ€ข Documentation could use work
โ€ข Standard ways of working with virtualization platforms
donโ€™t necessarily translate to working with Docker
(learning curve)
โ€ข Not sure what the business plan is for Docker
enterprise
โ€ข Isolation is not as strong as traditionalVM isolation
SECURITY
CONSIDERATIONS
The Good โ€ข Dockerโ€™s security team is top-notch
โ€ข Traditional security flaws in Docker have been rapidly
addressed, and their respective fixes have been either
industry-leading or industry-standard
โ€ข Enterprise business depends heavily on building secure
software, so large incentives to continue improving
โ€ข Logical abstraction of N-tier application -> single
application reduces complexity
โ€ข New defenses possible when set up and tear down of
environments takes seconds
The Bad
โ€ข Docker containers designed to run as root out-of-the-
box, require additional configuration and headaches to
change
โ€ข Intra-container communication may be restricted, but
otherwise Docker containers have same network
access as host machine
โ€ข Lots of code written by lots of people in different
languages doing complex things at all levels of the OS โ€“
plenty of places for things to go wrong
The Ugly โ€ข Biggest dangers of using Docker are architectural
โ€ข If you thought losing your source code was bad, what
happens when you lose all of your images?
โ€ข Documentation for setting up your own Registry is very
poor
โ€ข Docker Registry has two levels of authentication โ€“ authโ€™ed
and not authโ€™ed
โ€ข Docker daemons, if compromised, would allow malicious
third-parties to spin up arbitrary software without dealing
with dependencies behind your firewall
ADDITIONAL
THOUGHTS
On Docker
Ecosystem
โ€ข Throw out what you think you know about
virtualization when first wrapping your head around
the Docker ecosystem
โ€ข Dockerโ€™s individual offerings are impressive, but their
utility pales in comparison to what all of their offerings
taken as a complete whole can accomplish
On Docker
Security
โ€ข For the most part, Docker security is good
โ€ข Traditional security flaws will still be present within
Docker and the applications built upon it, and the
speed of operations with Docker gives Docker the leg
up when compared to traditional approaches
โ€ข The biggest security concern organizations should
have when deploying with Docker should revolve
around architectural implications of their Docker
deployment and considerations around the possibility
of compromised Docker assets
Q&A
THANK YOU

More Related Content

What's hot

Securing the Container Pipeline at Salesforce by Cem Gurkok
Securing the Container Pipeline at Salesforce by Cem Gurkok   Securing the Container Pipeline at Salesforce by Cem Gurkok
Securing the Container Pipeline at Salesforce by Cem Gurkok Docker, Inc.
ย 
OSCON: Incremental Revolution - What Docker learned from the open-source fire...
OSCON: Incremental Revolution - What Docker learned from the open-source fire...OSCON: Incremental Revolution - What Docker learned from the open-source fire...
OSCON: Incremental Revolution - What Docker learned from the open-source fire...Docker, Inc.
ย 
From 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 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 2017Frank Munz
ย 
Oracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCS
Oracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCSOracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCS
Oracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCSFrank Munz
ย 
Sharding Containers: Make Go Apps Computer-Friendly Again by Andrey Sibiryov
Sharding Containers: Make Go Apps Computer-Friendly Again by Andrey Sibiryov Sharding Containers: Make Go Apps Computer-Friendly Again by Andrey Sibiryov
Sharding Containers: Make Go Apps Computer-Friendly Again by Andrey Sibiryov Docker, Inc.
ย 
Moving Legacy Applications to Docker by Josh Ellithorpe, Apcera
Moving Legacy Applications to Docker by Josh Ellithorpe, Apcera Moving Legacy Applications to Docker by Josh Ellithorpe, Apcera
Moving Legacy Applications to Docker by Josh Ellithorpe, Apcera Docker, Inc.
ย 
Docker Registry + Basic Auth
Docker Registry + Basic AuthDocker Registry + Basic Auth
Docker Registry + Basic AuthRemotty
ย 
Microservices with Terraform, Docker and the Cloud. Chicago Coders Conference...
Microservices with Terraform, Docker and the Cloud. Chicago Coders Conference...Microservices with Terraform, Docker and the Cloud. Chicago Coders Conference...
Microservices with Terraform, Docker and the Cloud. Chicago Coders Conference...Derek Ashmore
ย 
Kali Linux Installation - VMware
Kali Linux Installation - VMwareKali Linux Installation - VMware
Kali Linux Installation - VMwareRonan Dunne, CEH, SSCP
ย 
Docker in the Oracle Universe / WebLogic 12c / OFM 12c
Docker in the Oracle Universe / WebLogic 12c / OFM 12cDocker in the Oracle Universe / WebLogic 12c / OFM 12c
Docker in the Oracle Universe / WebLogic 12c / OFM 12cFrank Munz
ย 
The Good, the Bad and the Ugly of Networking for Microservices by Mathew Lodg...
The Good, the Bad and the Ugly of Networking for Microservices by Mathew Lodg...The Good, the Bad and the Ugly of Networking for Microservices by Mathew Lodg...
The Good, the Bad and the Ugly of Networking for Microservices by Mathew Lodg...Docker, Inc.
ย 
Delphix Workflow for SQL Server
Delphix Workflow for SQL ServerDelphix Workflow for SQL Server
Delphix Workflow for SQL Serverrcaccia
ย 
Global Software Development powered by Perforce
Global Software Development powered by PerforceGlobal Software Development powered by Perforce
Global Software Development powered by PerforcePerforce
ย 
Docker HK Meetup - 201707
Docker HK Meetup - 201707Docker HK Meetup - 201707
Docker HK Meetup - 201707Clarence Ho
ย 
Containers and Security for DevOps
Containers and Security for DevOpsContainers and Security for DevOps
Containers and Security for DevOpsSalesforce Engineering
ย 
Whats new in Microsoft Windows Server 2016 Clustering and Storage
Whats new in Microsoft Windows Server 2016 Clustering and StorageWhats new in Microsoft Windows Server 2016 Clustering and Storage
Whats new in Microsoft Windows Server 2016 Clustering and StorageJohn Moran
ย 
Microservices Runtimes
Microservices RuntimesMicroservices Runtimes
Microservices RuntimesFrank Munz
ย 
Dockers & kubernetes detailed - Beginners to Geek
Dockers & kubernetes detailed - Beginners to GeekDockers & kubernetes detailed - Beginners to Geek
Dockers & kubernetes detailed - Beginners to GeekwiTTyMinds1
ย 
Docker introduction
Docker introductionDocker introduction
Docker introductionJo Ee Liew
ย 
Introduction to Containers - SQL Server and Docker
Introduction to Containers - SQL Server and DockerIntroduction to Containers - SQL Server and Docker
Introduction to Containers - SQL Server and DockerChris Taylor
ย 

What's hot (20)

Securing the Container Pipeline at Salesforce by Cem Gurkok
Securing the Container Pipeline at Salesforce by Cem Gurkok   Securing the Container Pipeline at Salesforce by Cem Gurkok
Securing the Container Pipeline at Salesforce by Cem Gurkok
ย 
OSCON: Incremental Revolution - What Docker learned from the open-source fire...
OSCON: Incremental Revolution - What Docker learned from the open-source fire...OSCON: Incremental Revolution - What Docker learned from the open-source fire...
OSCON: Incremental Revolution - What Docker learned from the open-source fire...
ย 
From 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 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
ย 
Oracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCS
Oracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCSOracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCS
Oracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCS
ย 
Sharding Containers: Make Go Apps Computer-Friendly Again by Andrey Sibiryov
Sharding Containers: Make Go Apps Computer-Friendly Again by Andrey Sibiryov Sharding Containers: Make Go Apps Computer-Friendly Again by Andrey Sibiryov
Sharding Containers: Make Go Apps Computer-Friendly Again by Andrey Sibiryov
ย 
Moving Legacy Applications to Docker by Josh Ellithorpe, Apcera
Moving Legacy Applications to Docker by Josh Ellithorpe, Apcera Moving Legacy Applications to Docker by Josh Ellithorpe, Apcera
Moving Legacy Applications to Docker by Josh Ellithorpe, Apcera
ย 
Docker Registry + Basic Auth
Docker Registry + Basic AuthDocker Registry + Basic Auth
Docker Registry + Basic Auth
ย 
Microservices with Terraform, Docker and the Cloud. Chicago Coders Conference...
Microservices with Terraform, Docker and the Cloud. Chicago Coders Conference...Microservices with Terraform, Docker and the Cloud. Chicago Coders Conference...
Microservices with Terraform, Docker and the Cloud. Chicago Coders Conference...
ย 
Kali Linux Installation - VMware
Kali Linux Installation - VMwareKali Linux Installation - VMware
Kali Linux Installation - VMware
ย 
Docker in the Oracle Universe / WebLogic 12c / OFM 12c
Docker in the Oracle Universe / WebLogic 12c / OFM 12cDocker in the Oracle Universe / WebLogic 12c / OFM 12c
Docker in the Oracle Universe / WebLogic 12c / OFM 12c
ย 
The Good, the Bad and the Ugly of Networking for Microservices by Mathew Lodg...
The Good, the Bad and the Ugly of Networking for Microservices by Mathew Lodg...The Good, the Bad and the Ugly of Networking for Microservices by Mathew Lodg...
The Good, the Bad and the Ugly of Networking for Microservices by Mathew Lodg...
ย 
Delphix Workflow for SQL Server
Delphix Workflow for SQL ServerDelphix Workflow for SQL Server
Delphix Workflow for SQL Server
ย 
Global Software Development powered by Perforce
Global Software Development powered by PerforceGlobal Software Development powered by Perforce
Global Software Development powered by Perforce
ย 
Docker HK Meetup - 201707
Docker HK Meetup - 201707Docker HK Meetup - 201707
Docker HK Meetup - 201707
ย 
Containers and Security for DevOps
Containers and Security for DevOpsContainers and Security for DevOps
Containers and Security for DevOps
ย 
Whats new in Microsoft Windows Server 2016 Clustering and Storage
Whats new in Microsoft Windows Server 2016 Clustering and StorageWhats new in Microsoft Windows Server 2016 Clustering and Storage
Whats new in Microsoft Windows Server 2016 Clustering and Storage
ย 
Microservices Runtimes
Microservices RuntimesMicroservices Runtimes
Microservices Runtimes
ย 
Dockers & kubernetes detailed - Beginners to Geek
Dockers & kubernetes detailed - Beginners to GeekDockers & kubernetes detailed - Beginners to Geek
Dockers & kubernetes detailed - Beginners to Geek
ย 
Docker introduction
Docker introductionDocker introduction
Docker introduction
ย 
Introduction to Containers - SQL Server and Docker
Introduction to Containers - SQL Server and DockerIntroduction to Containers - SQL Server and Docker
Introduction to Containers - SQL Server and Docker
ย 

Viewers also liked

Introduction to LavaPasswordFactory
Introduction to LavaPasswordFactoryIntroduction to LavaPasswordFactory
Introduction to LavaPasswordFactoryChristopher Grayson
ย 
So You Want to be a Hacker?
So You Want to be a Hacker?So You Want to be a Hacker?
So You Want to be a Hacker?Christopher Grayson
ย 
Grey H@t - Academic Year 2012-2013 Recap
Grey H@t - Academic Year 2012-2013 RecapGrey H@t - Academic Year 2012-2013 Recap
Grey H@t - Academic Year 2012-2013 RecapChristopher Grayson
ย 
Grey H@t - DNS Cache Poisoning
Grey H@t - DNS Cache PoisoningGrey H@t - DNS Cache Poisoning
Grey H@t - DNS Cache PoisoningChristopher Grayson
ย 
Root the Box - An Open Source Platform for CTF Administration
Root the Box - An Open Source Platform for CTF AdministrationRoot the Box - An Open Source Platform for CTF Administration
Root the Box - An Open Source Platform for CTF AdministrationChristopher Grayson
ย 
Grey H@t - Cross-site Request Forgery
Grey H@t - Cross-site Request ForgeryGrey H@t - Cross-site Request Forgery
Grey H@t - Cross-site Request ForgeryChristopher Grayson
ย 
Started In Security Now I'm Here
Started In Security Now I'm HereStarted In Security Now I'm Here
Started In Security Now I'm HereChristopher Grayson
ย 

Viewers also liked (7)

Introduction to LavaPasswordFactory
Introduction to LavaPasswordFactoryIntroduction to LavaPasswordFactory
Introduction to LavaPasswordFactory
ย 
So You Want to be a Hacker?
So You Want to be a Hacker?So You Want to be a Hacker?
So You Want to be a Hacker?
ย 
Grey H@t - Academic Year 2012-2013 Recap
Grey H@t - Academic Year 2012-2013 RecapGrey H@t - Academic Year 2012-2013 Recap
Grey H@t - Academic Year 2012-2013 Recap
ย 
Grey H@t - DNS Cache Poisoning
Grey H@t - DNS Cache PoisoningGrey H@t - DNS Cache Poisoning
Grey H@t - DNS Cache Poisoning
ย 
Root the Box - An Open Source Platform for CTF Administration
Root the Box - An Open Source Platform for CTF AdministrationRoot the Box - An Open Source Platform for CTF Administration
Root the Box - An Open Source Platform for CTF Administration
ย 
Grey H@t - Cross-site Request Forgery
Grey H@t - Cross-site Request ForgeryGrey H@t - Cross-site Request Forgery
Grey H@t - Cross-site Request Forgery
ย 
Started In Security Now I'm Here
Started In Security Now I'm HereStarted In Security Now I'm Here
Started In Security Now I'm Here
ย 

Similar to You, and Me, and Docker Makes Three

Cohesion Techsessie Docker - Daniel Palstra
Cohesion Techsessie Docker - Daniel PalstraCohesion Techsessie Docker - Daniel Palstra
Cohesion Techsessie Docker - Daniel PalstraDaniel Palstra
ย 
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction ร  D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction ร  D...IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction ร  D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction ร  D...IBM France Lab
ย 
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 dockerBangladesh Network Operators Group
ย 
Docker - A curtain raiser to the Container world
Docker - A curtain raiser to the Container worldDocker - A curtain raiser to the Container world
Docker - A curtain raiser to the Container worldzekeLabs Technologies
ย 
Docker.pptx
Docker.pptxDocker.pptx
Docker.pptxbalaji257
ย 
Introduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes TrainingIntroduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes TrainingShailendra Chauhan
ย 
Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...
Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...
Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...Dot Net Tricks
ย 
Docker Overview
Docker OverviewDocker Overview
Docker OverviewAlexander Moon
ย 
Docker 101 - Zaragoza Docker Meetup - Universidad de Zaragoza
Docker 101 - Zaragoza Docker Meetup - Universidad de ZaragozaDocker 101 - Zaragoza Docker Meetup - Universidad de Zaragoza
Docker 101 - Zaragoza Docker Meetup - Universidad de ZaragozaAngel Borroy Lรณpez
ย 
Docker interview Questions-1.pdf
Docker interview Questions-1.pdfDocker interview Questions-1.pdf
Docker interview Questions-1.pdfYogeshwaran R
ย 
Afrimadoni the power of docker
Afrimadoni   the power of dockerAfrimadoni   the power of docker
Afrimadoni the power of dockerPHP Indonesia
ย 
Docker and Microservice
Docker and MicroserviceDocker and Microservice
Docker and MicroserviceSamuel Chow
ย 
Dockerize the World
Dockerize the WorldDockerize the World
Dockerize the Worlddamovsky
ย 
Dockerize the World - presentation from Hradec Kralove
Dockerize the World - presentation from Hradec KraloveDockerize the World - presentation from Hradec Kralove
Dockerize the World - presentation from Hradec Kralovedamovsky
ย 
DockerCon EU 2015 Barcelona
DockerCon EU 2015 BarcelonaDockerCon EU 2015 Barcelona
DockerCon EU 2015 BarcelonaRoman Dembitsky
ย 
CONTAINERIZATION WITH DOCKER .pptx
CONTAINERIZATION WITH DOCKER .pptxCONTAINERIZATION WITH DOCKER .pptx
CONTAINERIZATION WITH DOCKER .pptxSanjuGamesphere
ย 
Everything you need to know about Docker
Everything you need to know about DockerEverything you need to know about Docker
Everything you need to know about DockerAlican AkkuลŸ
ย 
Oracle WebLogic Server 12c with Docker
Oracle WebLogic Server 12c with DockerOracle WebLogic Server 12c with Docker
Oracle WebLogic Server 12c with DockerGuatemala User Group
ย 

Similar to You, and Me, and Docker Makes Three (20)

Cohesion Techsessie Docker - Daniel Palstra
Cohesion Techsessie Docker - Daniel PalstraCohesion Techsessie Docker - Daniel Palstra
Cohesion Techsessie Docker - Daniel Palstra
ย 
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction ร  D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction ร  D...IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction ร  D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction ร  D...
ย 
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
ย 
Docker - A curtain raiser to the Container world
Docker - A curtain raiser to the Container worldDocker - A curtain raiser to the Container world
Docker - A curtain raiser to the Container world
ย 
Docker.pptx
Docker.pptxDocker.pptx
Docker.pptx
ย 
Introduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes TrainingIntroduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes Training
ย 
Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...
Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...
Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...
ย 
Docker Overview
Docker OverviewDocker Overview
Docker Overview
ย 
Docker 101 - Zaragoza Docker Meetup - Universidad de Zaragoza
Docker 101 - Zaragoza Docker Meetup - Universidad de ZaragozaDocker 101 - Zaragoza Docker Meetup - Universidad de Zaragoza
Docker 101 - Zaragoza Docker Meetup - Universidad de Zaragoza
ย 
Docker interview Questions-1.pdf
Docker interview Questions-1.pdfDocker interview Questions-1.pdf
Docker interview Questions-1.pdf
ย 
Docker
DockerDocker
Docker
ย 
Afrimadoni the power of docker
Afrimadoni   the power of dockerAfrimadoni   the power of docker
Afrimadoni the power of docker
ย 
Docker and Microservice
Docker and MicroserviceDocker and Microservice
Docker and Microservice
ย 
Docker slides
Docker slidesDocker slides
Docker slides
ย 
Dockerize the World
Dockerize the WorldDockerize the World
Dockerize the World
ย 
Dockerize the World - presentation from Hradec Kralove
Dockerize the World - presentation from Hradec KraloveDockerize the World - presentation from Hradec Kralove
Dockerize the World - presentation from Hradec Kralove
ย 
DockerCon EU 2015 Barcelona
DockerCon EU 2015 BarcelonaDockerCon EU 2015 Barcelona
DockerCon EU 2015 Barcelona
ย 
CONTAINERIZATION WITH DOCKER .pptx
CONTAINERIZATION WITH DOCKER .pptxCONTAINERIZATION WITH DOCKER .pptx
CONTAINERIZATION WITH DOCKER .pptx
ย 
Everything you need to know about Docker
Everything you need to know about DockerEverything you need to know about Docker
Everything you need to know about Docker
ย 
Oracle WebLogic Server 12c with Docker
Oracle WebLogic Server 12c with DockerOracle WebLogic Server 12c with Docker
Oracle WebLogic Server 12c with Docker
ย 

Recently uploaded

Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...tanu pandey
ย 
WhatsApp ๐Ÿ“ž 8448380779 โœ…Call Girls In Mamura Sector 66 ( Noida)
WhatsApp ๐Ÿ“ž 8448380779 โœ…Call Girls In Mamura Sector 66 ( Noida)WhatsApp ๐Ÿ“ž 8448380779 โœ…Call Girls In Mamura Sector 66 ( Noida)
WhatsApp ๐Ÿ“ž 8448380779 โœ…Call Girls In Mamura Sector 66 ( Noida)Delhi Call girls
ย 
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...SUHANI PANDEY
ย 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...SUHANI PANDEY
ย 
( Pune ) VIP Baner Call Girls ๐ŸŽ—๏ธ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls ๐ŸŽ—๏ธ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls ๐ŸŽ—๏ธ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls ๐ŸŽ—๏ธ 9352988975 Sizzling | Escorts | Girls Are Re...nilamkumrai
ย 
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...roncy bisnoi
ย 
Enjoy NightโšกCall Girls Dlf City Phase 3 Gurgaon >เผ’8448380779 Escort Service
Enjoy NightโšกCall Girls Dlf City Phase 3 Gurgaon >เผ’8448380779 Escort ServiceEnjoy NightโšกCall Girls Dlf City Phase 3 Gurgaon >เผ’8448380779 Escort Service
Enjoy NightโšกCall Girls Dlf City Phase 3 Gurgaon >เผ’8448380779 Escort ServiceDelhi Call girls
ย 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Servicegwenoracqe6
ย 
Real Escorts in Al Nahda +971524965298 Dubai Escorts Service
Real Escorts in Al Nahda +971524965298 Dubai Escorts ServiceReal Escorts in Al Nahda +971524965298 Dubai Escorts Service
Real Escorts in Al Nahda +971524965298 Dubai Escorts ServiceEscorts Call Girls
ย 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableSeo
ย 
Call Now โ˜Ž 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now โ˜Ž 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.Call Now โ˜Ž 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now โ˜Ž 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.soniya singh
ย 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...SUHANI PANDEY
ย 
Call Now โ˜Ž 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now โ˜Ž 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now โ˜Ž 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now โ˜Ž 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.soniya singh
ย 
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...SUHANI PANDEY
ย 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...SUHANI PANDEY
ย 
Enjoy NightโšกCall Girls Samalka Delhi >เผ’8448380779 Escort Service
Enjoy NightโšกCall Girls Samalka Delhi >เผ’8448380779 Escort ServiceEnjoy NightโšกCall Girls Samalka Delhi >เผ’8448380779 Escort Service
Enjoy NightโšกCall Girls Samalka Delhi >เผ’8448380779 Escort ServiceDelhi Call girls
ย 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...singhpriety023
ย 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
ย 

Recently uploaded (20)

Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
ย 
WhatsApp ๐Ÿ“ž 8448380779 โœ…Call Girls In Mamura Sector 66 ( Noida)
WhatsApp ๐Ÿ“ž 8448380779 โœ…Call Girls In Mamura Sector 66 ( Noida)WhatsApp ๐Ÿ“ž 8448380779 โœ…Call Girls In Mamura Sector 66 ( Noida)
WhatsApp ๐Ÿ“ž 8448380779 โœ…Call Girls In Mamura Sector 66 ( Noida)
ย 
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
ย 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
ย 
( Pune ) VIP Baner Call Girls ๐ŸŽ—๏ธ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls ๐ŸŽ—๏ธ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls ๐ŸŽ—๏ธ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls ๐ŸŽ—๏ธ 9352988975 Sizzling | Escorts | Girls Are Re...
ย 
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
ย 
Enjoy NightโšกCall Girls Dlf City Phase 3 Gurgaon >เผ’8448380779 Escort Service
Enjoy NightโšกCall Girls Dlf City Phase 3 Gurgaon >เผ’8448380779 Escort ServiceEnjoy NightโšกCall Girls Dlf City Phase 3 Gurgaon >เผ’8448380779 Escort Service
Enjoy NightโšกCall Girls Dlf City Phase 3 Gurgaon >เผ’8448380779 Escort Service
ย 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
ย 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
ย 
Real Escorts in Al Nahda +971524965298 Dubai Escorts Service
Real Escorts in Al Nahda +971524965298 Dubai Escorts ServiceReal Escorts in Al Nahda +971524965298 Dubai Escorts Service
Real Escorts in Al Nahda +971524965298 Dubai Escorts Service
ย 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
ย 
Call Now โ˜Ž 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now โ˜Ž 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.Call Now โ˜Ž 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now โ˜Ž 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
ย 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
ย 
Call Now โ˜Ž 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now โ˜Ž 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now โ˜Ž 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now โ˜Ž 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
ย 
valsad Escorts Service โ˜Ž๏ธ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service โ˜Ž๏ธ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service โ˜Ž๏ธ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service โ˜Ž๏ธ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
ย 
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
ย 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
ย 
Enjoy NightโšกCall Girls Samalka Delhi >เผ’8448380779 Escort Service
Enjoy NightโšกCall Girls Samalka Delhi >เผ’8448380779 Escort ServiceEnjoy NightโšกCall Girls Samalka Delhi >เผ’8448380779 Escort Service
Enjoy NightโšกCall Girls Samalka Delhi >เผ’8448380779 Escort Service
ย 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
ย 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
ย 

You, and Me, and Docker Makes Three

  • 1. YOU, ME, AND DOCKER MAKES THREE The Ins and Outs of the Docker Ecosystem
  • 3. Talk Roadmap โ€ข What is Docker? โ€ข The Docker Ecosystem โ€“ Docker Engine โ€“ Docker Registry โ€“ Docker Machine โ€“ Docker Compose โ€“ Docker Swarm โ€ข Demonstration โ€ข Docker Pitfalls โ€ข Security Considerations for Deploying Docker โ€ข AdditionalThoughts โ€ข Q&A
  • 4. WHOAMI โ€ข ChristopherGrayson โ€“ OSCE โ€“ Former consultant at Bishop Fox โ€“ MSCS, BSCM from GeorgiaTech โ€“ Currently founder of Web Sight.IO
  • 6. Docker 101 โ€ข Virtualization platform โ€ข Virtualizes at the process level โ€ข Runs in Linux โ€ข Uses Linux kernel isolation primitives
  • 7. Ok, But Why? โ€ข Consider traditional application of virtualization โ€ข Significant overhead (single virtual host -> single virtual application) โ€ข Why virtualize at the OS level?
  • 10. โ€ฆStill Not Convinced? โ€ข When virtualization occurs at the process level, new possibilities emerge โ€ข Docker is not the first attempt, but has gotten a lot right with their attempt
  • 12. Docker Engine โ€ข Daemon that listens onTCP 2376 (3376 for swarm) โ€ข Functionality invoked through API โ€ข Command line interface provided by Docker โ€ข Takes in images and settings, spins up โ€œcontainersโ€ (processes)
  • 13. Docker Images โ€ข Tarballโ€™ed images of Linux filesystems โ€ข Created through the use of Dockerfiles โ€ข Encourages re-usability
  • 14. Dockerfile Example Sequence of steps for building an image Run through โ€œdocker buildโ€, outputs a Docker image
  • 15. Docker Build Example Build an image through โ€œdocker buildโ€ List all images available to the Docker daemon through โ€œdocker imagesโ€
  • 16. Docker Engine Steps 1. Create image 2. Ensure target docker daemon has access to image 3. Tell the daemon to run the image, and pass arguments as necessary 4. ??? 5. Profit
  • 17. Docker Engine Perks โ€ข Hierarchical organization of Docker images works well with standard DevOps practices โ€ข If an image runs in one location through a Docker daemon, it is guaranteed to work on all other same- version Docker daemons โ€ข Rid yourself of dealing with dependency headaches
  • 18. Docker Registry โ€ข Where Git has GitHub, Docker has Docker Registry โ€ข Version control-esque endpoint for storing Docker images โ€ข Docker officially offers Docker Hub โ€ข Can (and should) create and run your own Docker registry
  • 19. Docker Registry Example After creating an image, push the image through โ€œdocker pushโ€ Pull updated image copies from registry through โ€œdocker pullโ€
  • 20. Docker Registry Perks โ€ข Single, authoritative location to store your Docker images โ€ข Follows the central repository model of Git, SVN, other version control systems โ€ข โ€ฆmy least favorite part of Docker
  • 21. Docker Machine โ€ข Create new Docker daemons on local or remote hosts โ€ข Remote hosts supported across all major hosting and cloud providers โ€ข Commands to create machines mostly the same โ€“ only changes reflect API differences between providers โ€ข Spins up host, installs docker, installs cryptographic artifacts for secure communication
  • 22. Docker Machine Examples Create a new machine at DigitalOcean using the docker-machine tool
  • 23. Docker Machine Examples List machines that your device can connect with Change the Docker daemon that your docker client is configured to talk to
  • 24. Docker Machine Contโ€™d โ€ข Many other machine-specific functions available through docker-machine โ€ข Hardware/OS related? docker-machine does it
  • 25. Docker Machine Perks โ€ข Provider agnostic, and very easy to switch between hosting providers (change a few command line arguments) โ€ข Go from no infrastructure to full infrastructure in <5 minutes โ€ข Go from full infrastructure to no infrastructure in <30 seconds
  • 26. Docker Compose โ€ข The โ€œorchestrationโ€ tool of the Docker ecosystem โ€ข Enables spinning up N-tier applications in one fell swoop โ€ข Can spin up N-tier applications locally โ€ข Only requires a docker-compose.yml file to spin up complicated N-tier applications
  • 27. Docker Compose File Example Defines the various applications contained within the N-tier application Configuration passed to applications through environment variables Defines relationships between applications and host OS
  • 28. Docker Compose Example Call docker-compose in a directory containing docker-compose.yml file File is read, images are retrieved, containers are created N-tier application goes from non-existent to up and running in <30 seconds
  • 29. Docker Compose Contโ€™d โ€ข Reduces configuration management complexity to a single config file โ€ข Spin up overlay networks across disparate hosting providers on the fly โ€ข View logs across N-tier application in real time
  • 30. Docker Compose Perks โ€ข Can configure entire environment with one configuration file โ€ข Reduces the complexity of N-tier application deployment and debugging โ€ข Go from 0->60 and 60->0 faster than all traditional approaches
  • 31. Docker Swarm โ€ข Turn multiple separate physical hosts into a single logical host โ€ข Out of the box management of which containers are deployed where without headache of configuration โ€ข Fully configurable to any depth
  • 32. Docker Swarm Examples Creating a swarm through docker-machine
  • 33. Docker Swarm Examples Contโ€™d Changing your Docker daemon to point to the swarm daemon Listing the computing resources available to the Swarm Docker daemon
  • 34. Docker Swarm Perks โ€ข Difference between deploying to a single host and deploying to 100 hosts is minimal โ€“ code does not change between the two โ€ข Transparently increase / decrease the power of your distributed applications on the fly โ€ข Single logical host across disparate hosts โ€“ even if those hosts are in completely differeny physical locations
  • 35. Docker Ecosystem Review โ€ข Docker Engine โ€“ The core โ€œruntimeโ€ of the Docker ecosystem โ€“ takes in Docker images and spins up isolated โ€œcontainers.โ€ โ€ข Docker Registry โ€“ Enables the storage of Docker images in centralized fashion โ€ข Docker Machine โ€“ Create and/or destroy Docker daemons on local or remote computing resources, automatically configure access to these daemons โ€ข Docker Compose โ€“ Spin up/down N-tier applications in rapid fashion, drill down into N-tier deployment options as necessary โ€ข Docker Swarm โ€“ Turn multiple physical or virtual hosts into a single logical host as far as Docker daemon is concerned
  • 37. Putting it All Together โ€ข Docker is a core component ofWeb Sight.IO โ€ข One of the main reasons Iโ€™ve been able to stay a one- man shop โ€ข Reduced my need for DevOps assistance to nearly nothing
  • 39. Nothing is Perfect โ€ข Various Docker offerings written in different languages โ€ข Terminology has not been consolidated across offerings โ€ข Still very much in development โ€“ breaking bugs introduced in even minor version updates โ€ข Docker networking not particularly robust (userland UDP proxy?) โ€ข Documentation could use work โ€ข Standard ways of working with virtualization platforms donโ€™t necessarily translate to working with Docker (learning curve) โ€ข Not sure what the business plan is for Docker enterprise โ€ข Isolation is not as strong as traditionalVM isolation
  • 41. The Good โ€ข Dockerโ€™s security team is top-notch โ€ข Traditional security flaws in Docker have been rapidly addressed, and their respective fixes have been either industry-leading or industry-standard โ€ข Enterprise business depends heavily on building secure software, so large incentives to continue improving โ€ข Logical abstraction of N-tier application -> single application reduces complexity โ€ข New defenses possible when set up and tear down of environments takes seconds
  • 42. The Bad โ€ข Docker containers designed to run as root out-of-the- box, require additional configuration and headaches to change โ€ข Intra-container communication may be restricted, but otherwise Docker containers have same network access as host machine โ€ข Lots of code written by lots of people in different languages doing complex things at all levels of the OS โ€“ plenty of places for things to go wrong
  • 43. The Ugly โ€ข Biggest dangers of using Docker are architectural โ€ข If you thought losing your source code was bad, what happens when you lose all of your images? โ€ข Documentation for setting up your own Registry is very poor โ€ข Docker Registry has two levels of authentication โ€“ authโ€™ed and not authโ€™ed โ€ข Docker daemons, if compromised, would allow malicious third-parties to spin up arbitrary software without dealing with dependencies behind your firewall
  • 45. On Docker Ecosystem โ€ข Throw out what you think you know about virtualization when first wrapping your head around the Docker ecosystem โ€ข Dockerโ€™s individual offerings are impressive, but their utility pales in comparison to what all of their offerings taken as a complete whole can accomplish
  • 46. On Docker Security โ€ข For the most part, Docker security is good โ€ข Traditional security flaws will still be present within Docker and the applications built upon it, and the speed of operations with Docker gives Docker the leg up when compared to traditional approaches โ€ข The biggest security concern organizations should have when deploying with Docker should revolve around architectural implications of their Docker deployment and considerations around the possibility of compromised Docker assets
  • 47. Q&A