Docker Container is what?
It's a computing environment to load an application with dependencies, It isolates the app from the environment to a separate small development environment. That's what's called a container. Containers have all the configurations needed to run an application. The container can be easily moved to any environment.
As an example, it is like a small room with only the necessities in a big house.
Docker Image - It's a file, it will execute the code in a docker container. This file contains the set of instructions to start the docker container, like a template.
What is the process?
Docker will isolate the resources from the OS kernel to run multiple containers on the same hosted OS. In the Hosted OS, docker will create many instances of containers based on Docker Image. Each containers instance shares the kernel with other containers. in a single machine.
In a single OS, multiple applications can be enabled with different dependencies and versions.
What is the need for this?
Common mistakes while deployment
- Development versions not matched with hosted env.
- Missing files
- Different configurations
How to install in windows?
- Use this link -> https://www.docker.com/products/docker-desktop
- Or Google - Docker desktop for windows.
- Docker is also available for Linux and Mac. On both Mac and Windows, we can use Linux containers.
- After the completion of the download, click the downloaded file and install the setup.
- Upon completion of the installation, docker needs to restart the PC.
- The installation can be verified by using a command docker --version.
Comments
Post a Comment