SlideShare a Scribd company logo
Md. Armanuzzaman
Akhter Al Amin
Md. Shakil Zaman
Docker container basics and efficacy of
Kubernetes regarding container
management
| 2
| 3
What is ?
image source: https://www.researchgate.net/publication/318816158_An_Introduction_to_Docker_and_Analysis_of_its_Performance
| 4
Docker Components
Docker
Docker Client and
Server
Docker Images
Docker Container
Docker Registries
| 5
Docker Architecture
Docker Networking
image source: https://docs.docker.com/engine/docker-overview/
| 6
Example Dockerfile
| 7
What if we have Microservice system like this?
For n number of
μ-service container, I
have to run and stop
containers by hand?
Container 1
Container 2
Container 3
| 8
Docker Compose
One YML file solves multi container problem
Compose files typically are like this:
version: '3'
services:
service 1:
build: .
ports:
- "5000:5000"
service 2:
build: .
ports:
- "5001:5001"
redis:
image: "redis:latest"
rabbitMQ:
image:"rabbitMQ:latest"
Service based
Scaling problem
fixed….
Docker Swarm
image source: https://hackernoon.com/docker-swarm-kubernetess-clever-little-borther-49ac3d0a853
Features of Docker Swarm
• Cluster management integrated with Docker Engine
• Decentralized design
• Scaling
• Desired state reconciliation
• Load balancing
• Secure by default
| 11
Dockerhub
These are the
steps of
deployment cycle
where Dockerhub
comes into play
image source: https://trishnag.wordpress.com/2016/04/28/publish-docker-image-with-automated-build/
| 12
Virtual Machine vs Docker
Virtual Machine Docker
image source: https://nickjanetakis.com/blog/comparing-virtual-machines-vs-docker-containers
| 13
Advantage of Docker Container
● Speed
● Portability
● Scalability
● Rapid Delivery
● Density
| 14
Disadvantage of Docker Container
● Security concern
● Dependency on Operating system
● Not compatible with older machines
● Difficult to manage
Kubernetes
• Cluster management Tool
• Decentralized design
• Scaling
• Desired state reconciliation
• Load balancing
• Secure by default
Isn’t this the same
thing we saw for
Docker Swarm?
| 16
Yes it is...
▪ Robustness, Maturity and Community Support
▪ Autoscaling
▪ Self healing
▪ GUI available
▪ Built-in Logging and Monitoring tool
▪ Example: Pokemon Go saved by K8s
| 17
References
[1] Joy, A. M. (2015). Performance comparison between Linux containers and virtual machines. Paper presented at the Computer Engineering
and Applications (ICACEA), 2015 International Conference on Advances in.
[2] Russell, B. (2015). Passive Benchmarking with docker LXC, KVM & OpenStack.
[3] Scheepers, M. J. (2014). Virtualization and containerization of application infrastructure: A comparison.
[4] Turnbull, J. (2014). The Docker Book: Containerization is the new virtualization.
[5] Docker official Documentation
[6] https://geekflare.com/docker-architecture/

More Related Content

What's hot (20)

PPTX
Introduction to Docker
Pubudu Jayawardana
 
PDF
Introduction to Docker Containers - Docker Captain
Ajeet Singh Raina
 
PDF
Infinit: Modern Storage Platform for Container Environments
Docker, Inc.
 
PDF
Docker Container-Introduction and Features
Ashnikbiz
 
PPTX
Jenkins advance topic
Kalkey
 
PDF
Developing with Docker for the Arm Architecture
Docker, Inc.
 
PPTX
Docker Platform 1.9
Docker, Inc.
 
PDF
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Edureka!
 
PDF
DCSF19 Containers for Beginners
Docker, Inc.
 
PDF
Docker & kubernetes
NexThoughts Technologies
 
PDF
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...
Docker, Inc.
 
PDF
Docker Container Introduction
Innfinision Cloud and BigData Solutions
 
PPTX
Dockers and containers basics
Sourabh Saxena
 
PPTX
What is Docker?
Shubhrank Rastogi
 
PPTX
Docker 101 - Nov 2016
Docker, Inc.
 
PDF
Intro to docker - innovation demo 2022
Hussain Mansoor
 
PPTX
Docker introduction
Gourav Varma
 
PDF
Docker introduction
Julien Maitrehenry
 
PPTX
Docker introduction & benefits
Amit Manwade
 
PPTX
Introduction to Docker - 2017
Docker, Inc.
 
Introduction to Docker
Pubudu Jayawardana
 
Introduction to Docker Containers - Docker Captain
Ajeet Singh Raina
 
Infinit: Modern Storage Platform for Container Environments
Docker, Inc.
 
Docker Container-Introduction and Features
Ashnikbiz
 
Jenkins advance topic
Kalkey
 
Developing with Docker for the Arm Architecture
Docker, Inc.
 
Docker Platform 1.9
Docker, Inc.
 
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Edureka!
 
DCSF19 Containers for Beginners
Docker, Inc.
 
Docker & kubernetes
NexThoughts Technologies
 
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...
Docker, Inc.
 
Docker Container Introduction
Innfinision Cloud and BigData Solutions
 
Dockers and containers basics
Sourabh Saxena
 
What is Docker?
Shubhrank Rastogi
 
Docker 101 - Nov 2016
Docker, Inc.
 
Intro to docker - innovation demo 2022
Hussain Mansoor
 
Docker introduction
Gourav Varma
 
Docker introduction
Julien Maitrehenry
 
Docker introduction & benefits
Amit Manwade
 
Introduction to Docker - 2017
Docker, Inc.
 

Similar to Docker container basics and efficiency of Kubernetes (20)

PPTX
Containerization
hetpatel102
 
PDF
codemotion-docker-2014
Carlo Bonamico
 
PPTX
Docker and kubernetes
Meiyappan Kannappa
 
PDF
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
Codemotion
 
PPTX
Cohesion Techsessie Docker - Daniel Palstra
Daniel Palstra
 
PPTX
You, and Me, and Docker Makes Three
Christopher Grayson
 
PDF
Introduction to container based virtualization with docker
Bangladesh Network Operators Group
 
PDF
Docker HK Meetup - 201707
Clarence Ho
 
PDF
An Introduction To Docker
Gabriella Davis
 
PPTX
Containers and Docker
Damian T. Gordon
 
PDF
An Introduction to Configuring Domino for Docker
Gabriella Davis
 
PDF
Containers and Nutanix - Acropolis Container Services
NEXTtour
 
PDF
Docker From Scratch
Giacomo Vacca
 
PPTX
Docker 101 describing basic docker usage
ZiyanMaraikar1
 
PPTX
Docker - Ankara JUG, Nisan 2015
Mustafa AKIN
 
PDF
Journey to Docker Production: Evolving Your Infrastructure and Processes - Br...
Docker, Inc.
 
ODP
Docker and stuff
Raimondas Rimkevičius
 
PDF
Introduction to Docker and Monitoring with InfluxData
InfluxData
 
PDF
Going Production with Docker and Swarm
C4Media
 
PDF
What is the Difference Between Kubernetes and Docker?
Ravendra Singh
 
Containerization
hetpatel102
 
codemotion-docker-2014
Carlo Bonamico
 
Docker and kubernetes
Meiyappan Kannappa
 
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
Codemotion
 
Cohesion Techsessie Docker - Daniel Palstra
Daniel Palstra
 
You, and Me, and Docker Makes Three
Christopher Grayson
 
Introduction to container based virtualization with docker
Bangladesh Network Operators Group
 
Docker HK Meetup - 201707
Clarence Ho
 
An Introduction To Docker
Gabriella Davis
 
Containers and Docker
Damian T. Gordon
 
An Introduction to Configuring Domino for Docker
Gabriella Davis
 
Containers and Nutanix - Acropolis Container Services
NEXTtour
 
Docker From Scratch
Giacomo Vacca
 
Docker 101 describing basic docker usage
ZiyanMaraikar1
 
Docker - Ankara JUG, Nisan 2015
Mustafa AKIN
 
Journey to Docker Production: Evolving Your Infrastructure and Processes - Br...
Docker, Inc.
 
Docker and stuff
Raimondas Rimkevičius
 
Introduction to Docker and Monitoring with InfluxData
InfluxData
 
Going Production with Docker and Swarm
C4Media
 
What is the Difference Between Kubernetes and Docker?
Ravendra Singh
 
Ad

Recently uploaded (20)

PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PPTX
Final Major project a b c d e f g h i j k l m
bharathpsnab
 
PDF
Electrical Engineer operation Supervisor
ssaruntatapower143
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
PPTX
Water Resources Engineering (CVE 728)--Slide 3.pptx
mohammedado3
 
PDF
Electrical Machines and Their Protection.pdf
Nabajyoti Banik
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PDF
WD2(I)-RFQ-GW-1415_ Shifting and Filling of Sand in the Pond at the WD5 Area_...
ShahadathHossain23
 
PDF
20ES1152 Programming for Problem Solving Lab Manual VRSEC.pdf
Ashutosh Satapathy
 
PPTX
Knowledge Representation : Semantic Networks
Amity University, Patna
 
PPTX
OCS353 DATA SCIENCE FUNDAMENTALS- Unit 1 Introduction to Data Science
A R SIVANESH M.E., (Ph.D)
 
PPTX
Numerical-Solutions-of-Ordinary-Differential-Equations.pptx
SAMUKTHAARM
 
PDF
Data structures notes for unit 2 in computer science.pdf
sshubhamsingh265
 
PDF
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
PPTX
MODULE 04 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
PDF
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
PPTX
How Industrial Project Management Differs From Construction.pptx
jamespit799
 
PDF
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PPTX
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
Final Major project a b c d e f g h i j k l m
bharathpsnab
 
Electrical Engineer operation Supervisor
ssaruntatapower143
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
Water Resources Engineering (CVE 728)--Slide 3.pptx
mohammedado3
 
Electrical Machines and Their Protection.pdf
Nabajyoti Banik
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
WD2(I)-RFQ-GW-1415_ Shifting and Filling of Sand in the Pond at the WD5 Area_...
ShahadathHossain23
 
20ES1152 Programming for Problem Solving Lab Manual VRSEC.pdf
Ashutosh Satapathy
 
Knowledge Representation : Semantic Networks
Amity University, Patna
 
OCS353 DATA SCIENCE FUNDAMENTALS- Unit 1 Introduction to Data Science
A R SIVANESH M.E., (Ph.D)
 
Numerical-Solutions-of-Ordinary-Differential-Equations.pptx
SAMUKTHAARM
 
Data structures notes for unit 2 in computer science.pdf
sshubhamsingh265
 
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
MODULE 04 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
How Industrial Project Management Differs From Construction.pptx
jamespit799
 
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
Ad

Docker container basics and efficiency of Kubernetes

  • 1. Md. Armanuzzaman Akhter Al Amin Md. Shakil Zaman Docker container basics and efficacy of Kubernetes regarding container management
  • 2. | 2
  • 3. | 3 What is ? image source: https://www.researchgate.net/publication/318816158_An_Introduction_to_Docker_and_Analysis_of_its_Performance
  • 4. | 4 Docker Components Docker Docker Client and Server Docker Images Docker Container Docker Registries
  • 5. | 5 Docker Architecture Docker Networking image source: https://docs.docker.com/engine/docker-overview/
  • 7. | 7 What if we have Microservice system like this? For n number of μ-service container, I have to run and stop containers by hand? Container 1 Container 2 Container 3
  • 8. | 8 Docker Compose One YML file solves multi container problem Compose files typically are like this: version: '3' services: service 1: build: . ports: - "5000:5000" service 2: build: . ports: - "5001:5001" redis: image: "redis:latest" rabbitMQ: image:"rabbitMQ:latest" Service based Scaling problem fixed….
  • 9. Docker Swarm image source: https://hackernoon.com/docker-swarm-kubernetess-clever-little-borther-49ac3d0a853
  • 10. Features of Docker Swarm • Cluster management integrated with Docker Engine • Decentralized design • Scaling • Desired state reconciliation • Load balancing • Secure by default
  • 11. | 11 Dockerhub These are the steps of deployment cycle where Dockerhub comes into play image source: https://trishnag.wordpress.com/2016/04/28/publish-docker-image-with-automated-build/
  • 12. | 12 Virtual Machine vs Docker Virtual Machine Docker image source: https://nickjanetakis.com/blog/comparing-virtual-machines-vs-docker-containers
  • 13. | 13 Advantage of Docker Container ● Speed ● Portability ● Scalability ● Rapid Delivery ● Density
  • 14. | 14 Disadvantage of Docker Container ● Security concern ● Dependency on Operating system ● Not compatible with older machines ● Difficult to manage
  • 15. Kubernetes • Cluster management Tool • Decentralized design • Scaling • Desired state reconciliation • Load balancing • Secure by default Isn’t this the same thing we saw for Docker Swarm?
  • 16. | 16 Yes it is... ▪ Robustness, Maturity and Community Support ▪ Autoscaling ▪ Self healing ▪ GUI available ▪ Built-in Logging and Monitoring tool ▪ Example: Pokemon Go saved by K8s
  • 17. | 17 References [1] Joy, A. M. (2015). Performance comparison between Linux containers and virtual machines. Paper presented at the Computer Engineering and Applications (ICACEA), 2015 International Conference on Advances in. [2] Russell, B. (2015). Passive Benchmarking with docker LXC, KVM & OpenStack. [3] Scheepers, M. J. (2014). Virtualization and containerization of application infrastructure: A comparison. [4] Turnbull, J. (2014). The Docker Book: Containerization is the new virtualization. [5] Docker official Documentation [6] https://geekflare.com/docker-architecture/