0% found this document useful (0 votes)
10 views

Docker App

This document discusses Docker, a tool that allows applications to be packaged and run in isolated containers. It begins by explaining the problem Docker solves, such as different versions of libraries and dependencies making application deployment challenging. It then covers what containers are, compares Docker to virtual machines, and how Docker can help improve development and operations workflows. Key points covered include how Docker images contain packaged applications and their dependencies, how containers isolate applications and share the underlying operating system, and how Docker is used to deploy applications consistently across different environments.

Uploaded by

Chaitali Kamble
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Docker App

This document discusses Docker, a tool that allows applications to be packaged and run in isolated containers. It begins by explaining the problem Docker solves, such as different versions of libraries and dependencies making application deployment challenging. It then covers what containers are, compares Docker to virtual machines, and how Docker can help improve development and operations workflows. Key points covered include how Docker images contain packaged applications and their dependencies, how containers isolate applications and share the underlying operating system, and how Docker is used to deploy applications consistently across different environments.

Uploaded by

Chaitali Kamble
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Docker

Mr. Sameer Patil


KIT’s College of Engineering, Kolhapur.
Outline
• What is Container?

• What is Docker?

• How docker helps in improving productivity?

• Docker V/S VM

• Docker & VM
World Before Docker & VM
Service for End User

App A v1 App B v1 App C v1

Library A v1 Library B v1 Library C v1 Library n v1

Operating System

Hardware
World Before Docker & VM
Service for End User

App A v1.2 App B v1 App C v1

Library
Library A v1 Library B v1 Library n v1
B v2 Library C v1

Operating System

Hardware
World with Container
Service for End User

App A v1.2 App B v1 App C v1

Library Library
Library A v1 Library B v1 Library C
B v2 n v1 Library n v1
v1

Operating System

Hardware
World with Container

App A v1.2 App C v1

Container DB

Library
Library A v1 Library C
B v2 Library n v1
v1

Operating System

Hardware
World with Container

App A v1.2 App A v1.2 App C v1

Container DB Container DB

Library Library
Library A v1 Library A v1 Library C
B v2 B v2 Library n v1
v1

Operating System

Hardware
What is Container?

MySql 5.1 MySql 4.2


MySql 4.2 Container
MySql 5.1 Container
Libraries Libraries

Kernel Kernel
Do You Need Load Balancing?

MySql 5.1 MySql 5.1 MySql 5.1 Apache We


Container Container Container 5.1 Container

Operating System

Hardware
Do You Need Different Versions?
App 1 App 2

MySql 5.1 Apache We MySql 4.1 Apache We


Container 5.1 Container Container 5.1 Container

Operating System

Hardware
Lets put VM and Container Together
A A A A A A
pp pp pp pp pp pp
1 2 1 2 1 2
Apache Apache Apache Apache Apache Apache
MySql MySql MySql MySql MySql MySql
We We We We We We
5.1 4.1 5.1 4.1 5.1 4.1
5.1 5.1 5.1 5.1 5.1 5.1
Contain Contain Contain Contain Contain Contain
Contain Contain Contain Contain Contain Contain
er er er er er er
er er er er er er

Operating System Operating System Operating System

VM VM VM

VT

Hardware
Docker vs VM

Docker VM

Less Isolation as share the same OS Complete Isolation

Main Purpose is to Package and Containerize To Virtualize hardware to run multiple OS


application
Less Utilization of Underlying Hardware Resources Maximum Utilization of Underlying Resources

Less Storage requirement More storage requirement as need to install OS on


each VM
Quick Boot up time Needs more booting time compared to Containers
Docker in Use

Ubuntu Fedora CentOS Mint

Linux Kernel
Docker on Windows

Ubuntu Fedora CentOS Mint

WSL- Linux Kernel

Windows Kernel
Docker Hub & Images
MongoDB Ubuntu Docker Hub

Docker Hub Contains Images


CentOS Apache2.0

Ubuntu
MySQL

Ubuntu MongoDB

Docker run Ubuntu


Docker run Ubuntu Linux Kernel

Docker run MongoDB Running Image is Called as Container


Development & Operation

Application War
Document
Libraries

Deploy

Windows OS Linux OS
DevOps

Application War

Libraries Document

Deploy

Windows OS Linux OS
Lets Start with Docker

Enterprise Edition
Community Edition

Windows Linux Mac Cloud

You might also like