Docker – Beginning with Docker – Introduction to Containers and Docker – part 1 – Try to simplify the concepts / Helps to prepare interviews :)

Docker vs VM
Docker vs VM

Hi All,

Greetings for the day 🙂 LIFE IS BEAUTIFUL 🙂

In my organization, I got a chance to work on Docker / Kubernetes. Since this is something new for me so I started my hands getting dirty in Docker. And as usual SHARING IS CARING 🙂 so sharing whatever I am learning 🙂

My friend and our Author @modisanket has very good article series on Docker / Containerasiation – please have a look – https://knowledge-junction.in/2021/02/06/index-containerisation/

Before starting or going into deep dive lets discuss some important terms first since for me it took good amount of time to understand these concepts 🙂

What is Container

Container - complete package - Code / required libraries / other dependencies if any - Executable unit of SW
Fig : Container – complete package – Code / required libraries / other dependencies (configuration files) if any – Executable unit of SW
  • A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another – please have a look at above image for more understanding 🙂
  • A container is simply another process on our machine that has been isolated from all other processes on the host machine
  • A container is a loosely isolated environment that allows us to build and run software packages
  • These software packages include the code and all dependencies to run applications quickly and reliably on any computing environment
  • These packages are called container images
  • Containers are lightweight and contain everything needed to run the application, so we do not need to rely on what is currently installed on the host
  • Container dont have an operating system installed separatelyOS level virtualization

What is containerization platform / Software containerization

  • Software containerization is an OS virtualization method that is used to deploy and run containers without using a virtual machine (VM)
  • Containers can run on physical hardware, in the cloud (public / private), VMs, and across multiple OSs

What is Docker

Docker
Fig : Docker – platform for developing, shipping and running containers
  • Docker is a free software developed by Docker Inc.
  • In very simple terms, as I understood Docker is a platform / environment which simplify the process to develop, build, run, manage and distribute the application
  • Docker is a containerization platform used to develop, ship, and run containers
  • Docker is a Linux-based, open-source containerization platform
  • Docker is written in the Go programming language
  • Docker doesn’t use a hypervisor
  • The desktop version of Docker supports Linux, Windows, and macOS
  • For production systems, Docker is available for server environments, including many variants of Linux and Microsoft Windows Server 2016 and above. Many clouds, including Azure, support Docker
  • Docker official site – https://www.docker.com/

What is difference between Docker and Virtual Machines

Docker vs VM
Fig : Docker vs VM
Docker / ContainerVM
VirtualizationOS level – OS is shared across multiple containersHardware level – OS is not shared. Each VM has its own OS – called guest OS
Docker VS VM

Docker Engine – We will discuss more about docker engine in upcoming articles

  • Core part of Docker
  • Client – Server technology that creates and run the containers

Docker Image

  • Template which contains the application and all the dependencies required to run the application on Docker

What is Docker Host

  • The machine on which Docker is installed and running is called a Docket Host
  • We could also have our own custom images on docker hub and we can distribute as well

Docker Hub

  • Online repository where we will get all the available docker images

Starting with Docker

I’ll stop here today, in next article we will try with our first Docker example and deep dive into docker architecture. Stay tuned

Thanks for reading 🙂 HAVE A SAFE LIFE 🙂 TAKE CARE 🙂

Prasham Sabadra

LIFE IS VERY BEAUTIFUL :) ENJOY THE WHOLE JOURNEY :) Founder of Knowledge Junction and live-beautiful-life.com, Author, Learner, Passionate Techie, avid reader. Certified Professional Workshop Facilitator / Public Speaker. Scrum Foundation Professional certificated. Motivational, Behavioral , Technical speaker. Speaks in various events including SharePoint Saturdays, Boot camps, Collages / Schools, local chapter. Can reach me for Microsoft 365, Azure, DevOps, SharePoint, Teams, Power Platform, JavaScript.

You may also like...

4 Responses

  1. osada96 says:

    Great beginning of the article, thank you.

  1. August 17, 2021

    […] previous article – Docker – Beginning with Docker – Introduction to Containers and Docker – part 1 – Try to sim… we […]

  2. September 3, 2021

    […] Understanding of containers – for more details please refer my article – Docker – Beginning with Docker – Introduction to Containers and Docker – part 1 – Try to sim… […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: