ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Introduction to
Docker
Build, run and scale
About Me
¡ñ Vincent Sellier
¡ð @vsellier
¡ñ Operations manager at eXo
Agenda
Enjoy...
1. Docker fundamentals
2. Tools and Ecosystem
And demos
Docker
fundamentals
What is a container ?
What is Docker ?
¡ñ The docker engine is a wrapper for :
¡ð Namespaces
¡ð cgroups
¡ð Union file systems
¡ñ Hide the underlying complexity
Union filesystem
Layer 1
Layer 2
Layer 3
Layer 4
Layer 5
Active layer
Read
Write
3 important concepts
1. Immutability
2. Rapidity
3. Portability
Docker trends
Docker
Tools
Installation
¡ñ Supported by all recent linux distros
¡ð Package managers
¡ð One line installer
¡ð CoreOs : Fully docker oriented distros
¡ñ Supported on Mac and Windows
docker-machine
¡ñ Provision and configure docker hosts
¡ñ almost 15 supported drivers
¡ð VirtualBox
¡ð AWS
¡ð GoogleCloud
¡ð Microsoft Azure
¡ð VMware vSphere
¡ð OpenStack
¡ð ...
Docker Hub
¡ñ Online service maintained by Docker inc
¡ñ Image repository with versioning
¡ñ Content trust
¡ñ Public / Private spaces
¡ñ A private registry is available
The Dockerfile
¡ñ Simple DSL to extend images
¡ð Configure the base image
¡ð Update the content
¡ð Configure the startup behavior
¡ñ Each instruction results in one images layer
Data volumes
¡ñ Special directories excluded from the Union File System
¡ñ Persistents
¡ñ Sharable between containers
Networking and container links
¡ñ bind ports on docker hosts
¡ñ link two containers or more
¡ð Configure the network
¡ð Create an alias in the hosts file
¡ð Inherit ENV instructions from the source container
¡ð Support restart
docker-compose
¡ñ Define multi-container applications in one file
¡ñ Manage container dependencies
¡ñ Can build images
¡ñ Scale applications
docker-swarm
¡ñ Docker clustering
¡ñ Transparent for docker tools
¡ñ Host selector
¡ñ Support the new 1.9 docker network feature
docker-swarm
docker
docker-compose
swarm-master
discovery
service
docker host
docker host
docker host
docker host
Questions ?
Thanks

More Related Content

Intro 2 docker