Docker

What is Docker ?


Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package.

Benefits of Docker :

  1. Use Docker as version control system for your entire app's operating system .
  2. Use Docker when you want to distribute/collaborate on your app's operating system with a team .
  3. Use Docker to run your code on your laptop in the same environment as you have on your server .
  4. Use Docker whenever your app needs to go through multiple phases of development (dev/test/qa/prod) .
  5. Docker has a central repository of disk images (public and private) that allow you to easily run different operating systems (Ubuntu, Centos, Fedora ) .

Difference between Git and Docker :

Git is a tool to version control your source code.

Docker is a tool to create consistent infrastructure for your web applications, and have that infrastructure easily moved from development machines to testing servers to production servers. It's kind of like moving an entire Virtual Machine from one server to another. Docker uses a technology called LinuxContainers instead of Virtual Machines. This allows you to have predictable environments for your web application wherever it runs.

Difference between Docker and Virtual machines .

Virtual machines have a full OS with its own memory management installed with the associated overhead of virtual device drivers. In a virtual machine, valuable resources are emulated for the guest OS and hypervisor, which makes it possible to run many instances of one or more operating systems in parallel on a single machine (or host). Every guest OS runs as an individual entity from the host system.

On the other hand Docker containers are executed with the Docker engine rather than the hypervisor. Containers are therefore smaller than Virtual Machines and enable faster start up with better performance, less isolation and greater compatibility possible due to sharing of the host’s kernel.

For more information , please check out the below link :





                                                        





Comments

Popular posts from this blog

Israel - Hamas Conflict in 2023

ICC 2023 World Cup India Schedule