0% found this document useful (0 votes)
13 views11 pages

Docker - Scaler

The Docker Masterclass from November 2022 addresses common software deployment issues, such as compatibility and dependency management, by introducing Docker's solutions like portability and environment isolation. It explains key concepts such as images, containers, and Docker Hub, highlighting the advantages of using Docker over traditional virtual machines in terms of speed, efficiency, and cost-effectiveness. The document also covers Docker's features, including scalability, flexibility, and security, along with practical tools like Docker Compose and Swarm for managing services.

Uploaded by

Sayyan Shaikh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views11 pages

Docker - Scaler

The Docker Masterclass from November 2022 addresses common software deployment issues, such as compatibility and dependency management, by introducing Docker's solutions like portability and environment isolation. It explains key concepts such as images, containers, and Docker Hub, highlighting the advantages of using Docker over traditional virtual machines in terms of speed, efficiency, and cost-effectiveness. The document also covers Docker's features, including scalability, flexibility, and security, along with practical tools like Docker Compose and Swarm for managing services.

Uploaded by

Sayyan Shaikh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Docker Masterclass |

November 2022
NOVEMBER 2022

SCALER
DOCKER
MASTERCLASS

Armur A.I
Akhil Sharma
02 NOVEMBER 2022

Shipping
Software

Problem 1 Problem 2 Problem 3


Docker Masterclass |
November 2022

Software works in one Dependencies don't Moving parts (Ubuntu,


machine, but not in work well together - PHP, SQL) version
another. version issues. issues.
03 NOVEMBER 2022

Collaborating
With
Developers

Problem 1 Problem 2 Problem 3


Docker Masterclass |
November 2022

Sharing complete Re-install everything OS issues - what works


working projects with from scratch on new on Ubuntu doesn't on
others is a pain. machines and servers. Mac or Windows
Solution
Portability
OS Independent
Dependency Packaging
No need to re-install everything, just Docker
Environment Isolation

NOVEMBER 2022
Important Terms
Images Containers Docker File
A template used to "build" Contains the commands required to
A run-time instance of a
a "container". Similar to a assemble an image.
docker image
snapshot in a VM. You can build images from this

Daemon Registry

NOVEMBER 2022
Docker Hub
docker'd' listens to Stateless, highly scalable server
Place to host your images
events and managers side app that stores and let s
and share with the world.
images, containers, you distribute docker images.
networks, volumes.
NOVEMBER 2022 Re-use
Base Docker Images
Shared Library
Single place for
Docker
multiple images
Features
Dependency OS Independence
Management Versioning
Can work on windows, mac and linux
Track versions, roll
Containerize all (but under the surface, mac uses
back to previous
dependencies and avoid linux hyprvisor and windows uses
versions, easy.
version errors. linux subsystem)
Docker Masterclass |

Scalable Flexible Secure


November 2022

Can start off multiple Can add or remove Not VM level security,
containers to scale a containers with ease, but basic security is
service even if containers fail present.
But really, Why
Docker??
Cost Effective = save money
Granular Updates = save time

NOVEMBER 2022
Speed of Deployment = save more time + happy clients
Smaller Devops Staff = save more money
08 NOVEMBER 2022

Global Repo
Get access to container
images from developers
across the world
Private Repo
Share private repos
with your team (has
authorization) for use
on projects
Docker
Hub
Docker hub
website

Pull Docker official Builds and Webhooks


images
Docker Masterclass |

Directly pull from github, gitlab integrations and


November 2022

docker hub, images are Based by docker, not triggers events after
scanned and secure from 3rd party successful push to docker hub
developers
Comparison
VMs Docker
Takes minutes Takes seconds

Separate instances required Easy deployment, requires a


for deployment single image

Entire OS needs to be loaded Requires less memory


before starting, so less efficient.

Own kernel, so higher security Containers share the host


privileges kernel, can be compromised.
10 NOVEMBER 2022

Prune
Deletes all stopped
containers, all
unused and dangling
Docker Lingo

Unused
Images that haven't
been assigned or
used in a container
Dangling
A new build of the image
was created, old image
now useless.
images

Sandbox Client Pull and Push


Docker Masterclass |
November 2022

Apps are isolated with container Client is an app Downloading images and
sandboxes. Ideal for workloads responsible for sending uploading new images
that require application-level the commands, daemon
security and isolation. picks them up
Volumes Networks
Preferred mechanism for persisting data Link multiple docker containers together
generated by Docker Containers.
A single container can be a part of multiple
Different from bind mounts, these are networks
completely managed by docker.
"Bridges" are private default networks created

Services Compose and Swarm


Docker compose enables you to start and stop
Run multiple containers, volumes and networks services
together at the same time.
Clubbing these is called a "service" While docker compose does it on a single host,
swarm is used for orchestration across multiple
hosts.

You might also like