Docker and Kubernetes
Docker and Kubernetes
K ubernetes
By Sofiya Khan
Registration no: - 12113394
What is
Docker?
Docker is a platform for developing, shipping,
and running applications in containers.
1. Docker Image
It is a file, comprised of multiple layers, used to
execute code in a Docker container.
They are a set of instructions used to create
docker containers.
2. Docker Container
It is a runtime instance of an image.
Allows developers to package applications with all
parts needed such as libraries and other
dependencies.
3. Docker file
It is a text document that contains necessary
commands which on execution helps assemble a
Docker Image.
Docker image is created using a Docker file
Important Terminologies in Docker
4. Docker Engine
The software that hosts the containers is named Docker
Engine.
Docker Engine is a client-server based application
The Docker engine has 3 main components:
Server: It is responsible for creating and managing
Docker images, containers, networks, and volumes
on the Docker. It is referred to as a daemon process.
REST API: It specifies how the applications can
interact with the Server and instructs it what to do.
interface that allows communication between Docker
and other applications
Client: The Client is a Docker command-line
interface (CLI), that allows us to interact with Docker
using the Docker commands.
5. Docker Hub
Docker Hub is the official online public repository where
you can find other Docker Images that are available for
use.
It makes it easy to find, manage, and share container
What is
Kubernetes?
Kubernetes is an open source platform for
managing containerized workloads and
services.