Member-only story
Docker Step by Step
“Docker allows you to package an application with all of its dependencies into a standardized unit for software development.”
Before I tell you about Docker I will tell you a story that every developer has experienced at least once.
Once upon a time, there was a young developer who was quietly coding on his computer. He was in a hurry because he had to present his work the next morning. After hours of work, the application was there, and it worked perfectly! The next day, our coder arrived proudly for his presentation, with his project on a USB key. He transfers it to his friend’s computer and there, it doesn’t work!
What is the problem?
Our developer’s application doesn’t work on his friend’s computer because of an environmental problem. Between two systems, there may be version differences on dependencies or missing libraries.
Here, our problem is limited to 2 systems, but imagine a team of 10 persons with computers under Mac OS, Linux, or even Windows, a test server under Ubuntu, and a production server under CentOS. Making sure their application works well on all these environments can be a real nightmare!
But fortunately, there are solutions and among them we have Docker.