docker
What is docker?
Docker is a platform which packages an application and all its dependencies together in the form of containers. This containerization aspect ensures that the application works in any environment.
As you can see in the diagram, each and every application runs on separate containers and has its own set of dependencies & libraries. This makes sure that each application is independent of other applications, giving developers surety that they can build applications that will not interfere with one another.
So a developer can build a container having different applications installed on it and give it to the QA team. Then the QA team would only need to run the container to replicate the developer’s environment.
Creating a docker image from Dockerfile, executing the image in a container and running the app
One way a docker image is created is by creating a Dockerfile, executing a set of shell/ Docker commands in that file and building your first image. The way that this is done is as follows;
Dockerfile
Create/ execute docker image
Last updated