What is Pod in kubernetes. Exaplin in 15 points with image as an example

Pod is the smallest execution unit in kubernetes Pod is not a physical entity. it is a logical entity. Pod is a group of one or more container Pod will contain one main container and other sidecar containers Storage and network will be shared among different containers inside a pod. pod lifecycle is pending, running, succeeded or failed. It will start in pending phase If any primary containers starts OK, state will change to running. If any containers terminated with

Read more

List out number of storage/volume drivers supported by docker

Volume plugins Plugin Description Azure File Storage plugin Lets you mount Microsoft Azure File Storage shares to Docker containers as volumes using the SMB 3.0 protocol. Learn more. BeeGFS Volume Plugin An open source volume plugin to create persistent volumes in a BeeGFS parallel file system. Blockbridge plugin A volume plugin that provides access to an extensible set of container-based persistent storage options. It supports single and multi-host Docker environments with features that include tenant isolation, automated provisioning, encryption, secure deletion, snapshots and

Read more

What is Storage Driver and types of Storage Driver? Explained with Images.

Storage driver is a software that allows you to write data to the writable layer of your Docker container. Types of storage driver • overlay2 – This is the preferred storage driver for all Linux distributions• aufs – Preferred driver for earlier versions of Docker, when running on an earlier version of Ubuntu.• devicemapper – Was the recommended driver for earlier versions of Centos and RHEL. Current versions support overlay2, which is the recommended driver.• btrfs – Used if this

Read more

Create one Image which have base as centos and with git – ntp – httpd

Created an image docker run –name sree -itd centosb50dcbcba771a111bf7c0b9a08eb4f14acfb83c666b2d5f8afbc13a7afc0748eroot@ip-172-31-28-155:/home/ubuntu# docker ps|grep sreeb50dcbcba771 centos “/bin/bash” 15 seconds ago Up 14 se conds sreeroot@ip-172-31-28-155:/home/ubuntu# docker attach sreeyum install git -yyum install httpddocker commit -a”sreerekha” -m”ce-git-httpd -sree” sree ce-git-httpd-sree docker imagesREPOSITORY TAG IMAGE ID CREATED SIZEce-git-httpd-sree latest b50885a6b058 19 seconds ago 346MB docker run –name rekha -itd ce-git-httpd-sree0d9262edc8ec86f142dc3fcb0b78cd1b923f9003ca022aa4a68b258bf6b0efc9root@ip-172-31-28-155:/home/ubuntu# docker ps|grep rekha0d9262edc8ec ce-git-httpd-sree “/bin/bash” 17 seconds ago Up 16 seconds rekha docker exec rekha git –versiongit version 2.27.0

Read more

What is Docker Images and Explain in 10 bullet lines?

1.Docker Image is like a template from which we can create docker containers 2.Docker images have multiple layers 3.Writable layer is only the upper layer which will be created when we are creating a container 4.Docker images get stored in public or private repositories 5.Docker images can be created either by manually or using docker file 6.The read-only layers of an image can be shared between any container started from the same image. 7.Size is the size used by writable

Read more