Docker Presentation
Docker Presentation
Matthew Favetti
What is Docker?
● Performance
● Optimization (Infrastructure)
● Encapsulation (CI/CD, DevOps)
● Portability (Cloud)
Docker Hub
● Build/push/pull images
● Run an image to create a container
● The container runs a command and stops when it exits
● You can start/stop/restart, attach to the console, view logs, inspect
configuration, etc
● Make changes in the container, commit the changes back to an image
● Tag images for easy reference
Process Overview
Beyond the Basics
● Dockerfile
○ All the steps necessary to build your container
○ “Document” the exact requirements / environment
/ dependencies of your app
● Docker-compose
○ Multiple (or single) container apps
○ Abstract command line arguments
Docker in the Cloud
● Provision manually
○ Install Docker
○ Pull the image from Docker Hub (or private registry)
● Provision using management tools
○ Docker-machine (this is also used to run docker on
Windows/OS X)
○ Docker Cloud (formerly Tutum)
○ Universal Control Plane (on premises)
● Cloud service specific tools
○ AWS EC2 Container Service
○ Azure Container Service
○ Google Container Service (Kubernetes)
Quick Demo