0% found this document useful (0 votes)
15 views6 pages

Dockers

Containerization is a lightweight virtualization technology that allows applications to run in isolated environments with all necessary dependencies. Docker is an open-source platform for managing containers, utilizing Docker images as templates for creating containers, and includes components like Docker daemon and Docker Registry for lifecycle management and storage. Advantages of Docker include rapid performance, lightweight operation, isolation, and cost savings.

Uploaded by

ab4216466
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)
15 views6 pages

Dockers

Containerization is a lightweight virtualization technology that allows applications to run in isolated environments with all necessary dependencies. Docker is an open-source platform for managing containers, utilizing Docker images as templates for creating containers, and includes components like Docker daemon and Docker Registry for lifecycle management and storage. Advantages of Docker include rapid performance, lightweight operation, isolation, and cost savings.

Uploaded by

ab4216466
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/ 6

Containers:

Containerization is a lightweight virtualization technology alternative to


hypervisor virtualization. Any application can be bundled in a container can
run without any worries about dependencies, libraries and binaries. Because
container creates the isolated environment with all the required
dependencies, libraries and binaries to run your application with out any
issue. Hence you can build the packages, ship the application to any
environment and run it.
So Containers are designed to run on physical servers, virtual machines and
any cloud instances.
Developer Tester production

=project complete!!!
Container architecture:
Docker vs virtual machine:

Docker images:
base image
sub images

DEFINITION:
Docker images are templates used to create Docker containers. A Docker image includes
everything needed to run an application: code, runtime, libraries, and configurations.

Docker Image: A read-only template that contains the application and its environment. It's
like a blueprint for creating containers.
TYPES:

BASE IMAGE:

Base Image: The foundational layer of an image. It contains the basic operating system (like
Ubuntu, Alpine, etc.) without any application-specific code. Every Docker image starts from a
base image.

SUB IMAGE:
Sub Image: An image created from a base image by adding layers. For example, if you take
a base image like Ubuntu and add Python, your resulting image becomes a sub image.

WHAT IS DOCKER?

Docker is a opensource platform tool designed to manage the containers, which allow us to
build the application in a container with required libraries, binaries, dependencies to run the
application, ship the container and run anywhere.

Types like docker:

Docker architecture:
What is Docker’s daemon?
At the very core of Docker‘s operation lies the Docker daemon. It is the service responsible for
orchestrating container lifecycle management. It means that the docker daemon handles
various tasks including container creation, execution, and monitoring. In a nutshell, it acts as a
bridge between the Docker client and the Docker engine following Client-Server Architecture.
Docker daemon executes commands issued by the client by translating them into actionable
operations within the Docker environment.

Image showing Workings of Docker daemon

Docker Daemon Functions

 Container Management: This involves overseeing the creation, execution, and


termination of containers. This actions are performed based on commands received
from the Docker client.

 Networking and Storage: Docker daemon enables seamless integration with resources
with the underlying Operating System. Docker Daemon provides containers with
access to network ports, storage volumes, and other essential components.

 Push & Pull images from registry: When a requested image or container isn’t already
available locally, Docker daemon interacts with Docker Registry to fetch and deploy the
requested resources.

What is Docker Registry?


Docker Registry is a centralized storage and distributed system for collecting and
managing the docker images. It provides both public and private repositories as per the choice
whether to make the image accessible publicly or not. It is an essential component in the
containerization workflow for streamlining the deployment and management of applications.
What is Dockerhub?
DockerHub is a cloud-based repository that is provided by docker, that allows the users to
store and share docker images. It act as a central hub for the developers in finding the pre-
built image for various software applications

COMPONENTS OF DOCKER:
 Docker client and server
 Docker image
 Docker registry
 Docker container

DOCKER CLIENT-SERVER:
This is a command-line-instructed solution in which you would use the
terminal on your Mac or Linux system to issue commands from the Docker
client to the Docker daemon. The communication between the Docker client
and the Docker host is via a REST API. You can issue similar commands, such
as a Docker Pull command, which would send an instruction to the daemon
and perform the operation by interacting with other components (image,
container, registry).

ADVANTAGES OF DOCKER:
 Rapid Performance
 Light weight
 Isolation {diff version sws)
 Cost saving

You might also like