Session1 Introduction To Docker
Session1 Introduction To Docker
●
Introduction to Docker
➢
What is Docker?
➢
Why Docker?
➢
How Docker differ from VMs
➢
Docker Architecture
➢
Docker Orchestration
➢
Workflow
What is Docker?
●
Docker is a CaaS (Container as a Service) platform
●
More like Virtual Machines
●
Easy to develop, deploy and run any applications by using
containers
●
Easy to Package and ship
Why Docker?
●
Isolated
●
Lightweight
●
Simple to use
●
Cost effective
●
Portability
Isolation
OS
45%-size OS
2%-size
RAM : RAM :
CPU : CPU :
Cost effective
APP 1 – Java app with java 7
APP - 1
Cost effective
APP 1 – Java app with java 7
APP 2 – Java app with java 8
APP - 2
APP - 1
Cost effective
APP 1 – Java app with java 7
APP 2 – Java app with java 8
APP 3 - python
APP - 2
APP - 1
APP - 3
Cost effective
APP 1 – Java app with java 7
APP 2 – Java app with java 8
APP 3 - python
P -2
AP
P -1
AP
P -3
AP
Portability
BUILD
Portability
BUILD SHIP
Portability
Host OS Host OS
SERVER SERVER
Host OS Host OS
SERVER SERVER
Host OS Host OS
SERVER SERVER
Host OS Host OS
SERVER SERVER
Docker Daemon
Container Images
Docker Architecture
Container Images
Docker Architecture
Container Images
Docker Architecture
Docker Machine Used to provisions docker hosts and install docker engine on
hosts
Docker Swarm Used to make docker cluster with master and slave machines
and schedules containers
But still testers can run the application without recreating his
tester environment by using docker.
Docker Workflow
Host - 1
Docker Workflow
Host - 1
Docker Workflow
build
Host - 1
Docker Workflow
Docker container
build
Host - 1
Docker Workflow
Docker hub
push
Docker container
build
Host - 1
Docker Workflow
Docker hub
push
Docker container
build
Host - 1 Host - 2
Docker Workflow
Docker hub
push
Docker container
search
build
Pull / run
Host - 1 Host - 2
Docker Workflow
Docker hub
push
Docker container
search
build
Pull / run
Host - 1 Host - 2
Thank You