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

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

- 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 separately – OS 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 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 / Container | VM | |
Virtualization | OS level – OS is shared across multiple containers | Hardware level – OS is not shared. Each VM has its own OS – called guest OS |
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
- To start Docker we need to install Docker, following are the links
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 🙂
Great beginning of the article, thank you.
Thanks a lot 🙂