Member-only story
What is Docker? How do we use it? Real-time example included. The Most Simplified version on internet.
For some, whether they are newcomers or new to automation, Docker may be a completely unfamiliar term, while others might already be familiar with it. You may have heard of Docker before or even be using it in your test automation projects. In this blog, we’ll take a closer look at what Docker is and why it’s so widely used. When do we use it? And, how do we use it? Basically, the blog covers all What, Why, When and How of Docker.
Lets understand a real time scenario first to understand concept of Docker:
Real-Time Scenario
Imagine you’re working on a web development project with your team. You’re using a Windows machine with Node.js 16, Maven, Git, and JDK 11 installed. You have set up the project on your local environment, and everything is working perfectly.
Now, a new team member joins your project, and you need them to set up the same development environment. You suggest they install the same versions of Node.js, Maven, Git, JDK, and other tools. However, there’s a problem: they end up installing Node.js 11 and JDK 8, which causes compatibility issues when running the project.
At this point, Docker comes into play. You’ve probably heard developers say…