Docker for Beginners

Mayank Chourasia
3 min readJan 17, 2022

Part: 1

In this blog, I will discuss What is Docker, and How to Get Started.

Docker is an open-source containerization tool that helps us to create, run and manage containers. It was officially released in 2013 and is developed by Docker Inc. Docker is written in Googles’s Go programming language.

According to Docker Inc. “It is a tool that helps users to exploit operating-system-level virtualization to develop and deliver software in packages called containers.”

This technical definition may sound complicated, but all you need to understand is that Docker is a complete environment where you’ll be able to build and deploy software.

One of the most effective things about Docker is that you simply can move it across platforms and still run without installing a single dependency because all you need is a Docker Engine.

HOW TO GET STARTED?

To start with Docker I will suggest first Understanding the Programming Language, knowledge of Linux will add an advantage. Also If you want to learn Go lang you can subscribe to my channel.

What is a Container?

Containers offer a logical packaging mechanism where applications are abstracted from the environment in which they run. It provides a standard way to package your application’s code, configurations, and dependencies into a single object. Containers execute resource isolated processes as they share an operating system installed on the server which leads to quick, reliable, and consistent deployments, regardless of the environment.

In simple words, Containers only contain the application, the libraries, frameworks, etc. that they depend on. You can put lots of them on a single host operating system. There is just one operating system installed on the server which is the host operating system and the rest all the containers communicate with it. That keeps the containers small and the overhead is extremely low.

Important Terminologies in Docker :

  • Docker File: It is a text document that contains docker instructions using which Docker builds a Docker image.
  • Docker Image: It is a template from which a container is created.
  • Docker Container: It is a running instance of a Docker image.
  • Docker Engine: It is software that is used to host the containers.

It consists of 3 main components :

  1. Server: It is responsible for creating and managing Docker images, containers, etc on the Docker.
  2. REST API: It specifies how the applications can interact with the Server and instructs it on what to do.
  3. Client: The Client is a docker command-line interface (CLI), that allows us to interact with Docker using the docker commands.
Components of Docker Engine (Credits: Docker.com)

In the next blog, I will discuss the architecture of Docker.

Thanks for reading.

If you Want to Connect with Me:

LinkedIn: https://www.linkedin.com/in/mayank-chourasia-38421a134/

Twitter: https://twitter.com/ChourasiaMayank.

YouTube: Learn Technology with Mayank Chourasia

Thank you, stay safe, stay healthy.

Stay tuned till the next blog.

Top Docker News Devops Week News

--

--

Mayank Chourasia

Hey, My name is Mayank Chourasia. Currently I am working on SAP Utilities as a SAP ABAP Developer. I had written a blogs on SAP ISU, SAP ABAP, Google Cloud .