DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 963,864 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
bhargavirengarajan21
bhargavirengarajan21

Posted on • Updated on

What is Docker ? (Docker Series - I)

Docker is a open platform to package your code ,run, deploy, ship anywhere.

Why docker ?
Let's say my application stack contains of MongoDB, Redis, NodeJ. Are we sure that these libraries and dependencies compatabile with the OS we are using ?("Matrix from hell"). Herecomes the docker, it seperates the application running from the infrastructure.

How docker does that ?
Containers !!. Docker does that with the help containers.
It is a loosely isolated environment , light-weight, runnable instance. Isolation and security lets us run many containers on the same host by sharing the os kernal.

The above issue can also be handled by virtualisation, We need to create seperate VM instance for each dependancies to run which could be a overhead to maintain.

Docker Container vs Virtualisation

Image description

What I can use Docker for?

  1. Fast and consisten delivery of application:
  2. Responsive Deployment, portable and scaling
  3. Running more workload on same hardware

Top comments (0)

What image format should you use in your next project? πŸ€”