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?
[crayon-5e2f7e4384068230962911 ]docker-compose build
So we can’t say this anymore :p