What is Container

Nishant Bhosale
1 min readOct 22, 2021

--

Yeah, You heard it right containers. So what is exactly a container and how it is used?

So let’s say you created an application and it is working fine in your machine. But in production, it does not work properly(Developers experience it a lot).

Then, the Developer’s classic words are spoken: “It works on my machine”.

The Reasons for this could be:

  • Dependencies
  • Libraries and Versions
  • Framework
  • OS level features
  • Microservices

Basically, it is due to the environment. Both developer’s and production’s environments are different because the app doesn’t work as expected in production.

So we need a standard way to package not only the application but also its dependencies, versions, libraries, framework and deploy it in any environment. Here containers are used to do all this.

Containers also give isolation to the apps and good resource allocation (CPU, RAM, Storage).

It requires a second to boot so it is way better than virtual machines.

The container can be deployed on virtual machines, cloud, bare-metal machines.

It is used in a microservices architecture.

--

--

Nishant Bhosale
Nishant Bhosale

No responses yet