Docker_tech_guild ppt.ppt technical guild

AkshayaM79 18 views 24 slides Apr 27, 2024
Slide 1
Slide 1 of 24
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24

About This Presentation

Just a description of docker


Slide Content

Docker

Content
Docker
Virtual Machine
Difference b\w Docker and VM
Advantage
Docker Files
Docker Image
Docker Containers

Docker
Docker is an open platform for developing,
shipping, and running applications.
Docker enables you to separate your
applications from your infrastructure so you
can deliver software quickly.
With Docker, you can manage your
infrastructure in the same ways you manage
your applications.
Docker reduce the delay between writing code
and running it in production.

DOCKER ARCHITECTURE

Why docker?
Virtual Machine
A virtual machine is capable of performing
tasks such as running applications and
programs
A host can have several virtual machines
running at a specific time.
Docker containers are much smaller and
require far fewer resources than a VM.
The lightweight architecture of Docker
containers is less resource-intensive than
virtual machines.

The docker containers are suited for situations
where you want to run multiple applications
over a single operating system

Difference between Docker and VM
DOCKER VIRTUAL MACHINE
Boot-Time Boots in a few seconds.It takes a few minutes
for VMs to boot.
Runs on Dockers make use of the
execution engine.
VMs make use of the
hypervisor .
Memory Efficiency No space is needed to
virtualize, hence less
memory.
Requires entire OS to be
loaded before starting
the surface, so less
efficient.
Deployment Deploying is easy as only
a single image,
containerized can be
used across all
platforms.
Deployment is
comparatively lengthy as
separate instances are
responsible for
execution.

Advantage
App run separately from each other (Isolate
from each other)
Less OS maintenance.
Efficient.
Fast deployment.
Docker provides speed & efficiency over the
traditional virtualized hardware.
Each & every separate app have their own
dependencies.

Example For Docker

How Docker Works?
Three different stages for containers working in a
dockerized environment.
Docker Image
Docker Containers
Dockerfile

Docker Images
# docker pull nginx

List docker images
# docker images

Docker container
Clones/Copy the above docker image and
make it as a containers which is then ready to
execute.
Create Docker Container
#docker run -d --name clx_server1 -p 80:80 nginx:latest

Docker container
List running Docker containers
# docker ps
List all Docker containers
# docker ps –a

Start Container
Start a Container
# docker start clx_server1
Stop a Container
# docker stop clx_server1

Docker File

Build Docker File
Build docker image from Dockerfile
# docker build -t webserver .

Thank You
Tags