An Absolute Beginner's Guide to Docker

March 17, 2016

I don’t get it, it works on my machine !

As a developer, we all experience the situation. Most of the time.

Let us see how we can solve that problem in no time by using Docker.

What is Docker?

Basically, it’s a tool for running isolated containers on Linux which helps us to develop and deploy apps faster and much more efficiently.

We can run single service per container for say one container for MySQL, one container for Apache and one container for your Web App.

Otherwise, you run the whole stack in one container.

Docker containers share the host’s OS and are therefore much easier to manage.

Why use Docker for development?

Here are few reasons why you could use Docker for development.

  • Same environment for your entire team.
  • No local installation of dependencies.
  • If it works on your development machine then it will works everywhere.

How to install it on Mac?

docker-compose build

docker-compose up

So we can’t say this anymore :p

say works on my machine


👋 I'm Ashik Nesin • Sr. Frontend Engineer @Chargebee 👨‍💻• I write about modern Javascript & building web apps

© 2021 Nesin Technologies LLP