This content originally appeared on DEV Community and was authored by Ayush Gupta
Need for Docker ?
Suppose a development team is working on a project and creating an application, now suppose the application is build using different technologies.
for example – React, Java, Oracle DB
Now suppose developers are also using different operating system when creating the application
for example – Windows, Linux, Mac OS
Now in order to install the technologies like React, Java, Oracle DB in different operating systems, the process may be different.
for example –
Installation steps, installation paths, configurations, and versions of technologies, everything may be different
Now this creates a problem, suppose application is working our system and we are using windows, and now we provide the same code to other developer who is using Mac OS, and now when they tried to run the same code, in their system, it is not working for them.
Now we have a problem –
So in order to solve this problem, we will use Docker
Now let’s try to understand what is Docker ?
Docker–
So as of now we are running the application in our operating system only, for example – Windows or Mac OS
Now when we use Docker, we will run the application inside a Docker Container.
Docker Containers –
Now in order to run the application inside a Docker Container, we will not be directly putting the Application code, and the required technologies on which this application is built upon in the Docker containers.
instead we will be creating Docker images, and now using these images, Docker will create Docker Container.
Docker Image–
This content originally appeared on DEV Community and was authored by Ayush Gupta