Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
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 ...
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 orien...
docker-machine
● Provision and configure docker hosts
● almost 15 supported drivers
○ VirtualBox
○ AWS
○ GoogleCloud
○ Mic...
Docker Hub
● Online service maintained by Docker inc
● Image repository with versioning
● Content trust
● Public / Private...
The Dockerfile
● Simple DSL to extend images
○ Configure the base image
○ Update the content
○ Configure the startup behav...
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...
docker-compose
● Define multi-container applications in one file
● Manage container dependencies
● Can build images
● Scal...
docker-swarm
● Docker clustering
● Transparent for docker tools
● Host selector
● Support the new 1.9 docker network featu...
docker-swarm
docker
docker-compose
swarm-master
discovery
service
docker host
docker host
docker host
docker host
Questions ?
Thanks
Upcoming SlideShare
Loading in …5
×

Intro 2 docker

558 views

Published on

Presentation at the Hanoi JUG - Intro 2 docker

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Intro 2 docker

  1. 1. Introduction to Docker Build, run and scale
  2. 2. About Me ● Vincent Sellier ○ @vsellier ● Operations manager at eXo
  3. 3. Agenda Enjoy... 1. Docker fundamentals 2. Tools and Ecosystem And demos
  4. 4. Docker fundamentals
  5. 5. What is a container ?
  6. 6. What is Docker ? ● The docker engine is a wrapper for : ○ Namespaces ○ cgroups ○ Union file systems ● Hide the underlying complexity
  7. 7. Union filesystem Layer 1 Layer 2 Layer 3 Layer 4 Layer 5 Active layer Read Write
  8. 8. 3 important concepts 1. Immutability 2. Rapidity 3. Portability
  9. 9. Docker trends
  10. 10. Docker Tools
  11. 11. Installation ● Supported by all recent linux distros ○ Package managers ○ One line installer ○ CoreOs : Fully docker oriented distros ● Supported on Mac and Windows
  12. 12. docker-machine ● Provision and configure docker hosts ● almost 15 supported drivers ○ VirtualBox ○ AWS ○ GoogleCloud ○ Microsoft Azure ○ VMware vSphere ○ OpenStack ○ ...
  13. 13. Docker Hub ● Online service maintained by Docker inc ● Image repository with versioning ● Content trust ● Public / Private spaces ● A private registry is available
  14. 14. 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
  15. 15. Data volumes ● Special directories excluded from the Union File System ● Persistents ● Sharable between containers
  16. 16. 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
  17. 17. docker-compose ● Define multi-container applications in one file ● Manage container dependencies ● Can build images ● Scale applications
  18. 18. docker-swarm ● Docker clustering ● Transparent for docker tools ● Host selector ● Support the new 1.9 docker network feature
  19. 19. docker-swarm docker docker-compose swarm-master discovery service docker host docker host docker host docker host
  20. 20. Questions ?
  21. 21. Thanks

×