Saturday 15 July 2017

Docker Benefits

Docker Benefits 


1. Immutable Images - Before knowing the benefit of Immutable image we should know what does it means. An immutable image is an image that contain everything it need to run an application once built its unchangeable if we want to make changes it will get new image. So immutable images provide security that if a person make changes and it fails the application it doesn't matter as the changes done will create a new image and the previous state of the application is in another image.


2. Efficient - In Docker we don’t have to assign system memory or disk space to a container before we start it. We can set limits on how many resources a container can use if desired, but that does not mean that the maximum resources we allow to a container are tied up by that container whenever it is running. Rather, containers organically consume the resources they need, without requiring the host to dedicate more resources to a container than are actually necessary at any given time. This means Docker containers make more efficient use of system resources.

3. Microservices and Integrations (API) - Microservices are made as a way to divide and conquer. Rather than building monolithic application to handle all aspect of service through docker we can build small services. The engine API is the API served by Docker Engine it allows to control every aspect of Docker from within own application, build tools to manage and monitor application running on Docker. Docker can be integrated into various infrastructure tools including AWS, Ansible, Chef, GCP, Jenkins, Microsoft Azure, Puppet, Salt and many more.

4. Modularity -  Docker containers is perfect for a microservices approach to app design. Under this model, complex applications are split into discrete units. For example our database might run in one container while the front-end part of our application runs in a separate container . This approach makes the application modular. It reduces the complexity of managing and updating the application.

5. Portability - Docker defines bundling an application since container is self-sufficient so we just have to run the container without caring about anything else like installing dependencies, mounting volumes etc. Docker container can be transferred to any Docker enabled machine. So easily we can scale the system with tools. 

2 comments:

  1. This is the precise weblog for anybody who needs to seek out out about this topic. You notice so much its almost arduous to argue with you. You positively put a brand new spin on a subject that's been written about for years. Nice stuff, simply nice!

    ReplyDelete
  2. I really appreciate your professional approach. These are pieces of very useful information that will be of great use for me in future.

    ReplyDelete

Chapter : 1 - First code in Node JS Previously I have written a blog about Getting Started with Node JS and its installation. Now lets s...