Author : HASSAN MD TAREQ | Updated : 2021/05/24


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.

Containerized applications deployment necessitates three categories of software:

Containers are isolated from one another but run on a shared OS kernel, making them far more lightweight than virtual machines. This allows more containers to be run on the same physical hardware giving containers an advantage over traditional virtual machines.

Container Image

How Does Docker Work?

Docker packages an application and it’s dependencies in a virtual container that can run on any Linux server. Since they have all the necessary dependencies contained in a single piece of software, this is why the are called containers.

Docker is composed of the following elements:

Docker Hub

Public repository for docker container.


See: Understanding Dockerfile

Docker Compose

See: Understanding Docker Compose