Welcome back.

Let's now look at some of the important reasons why I think is becoming really really popular.

The first reason is standardized application packaging.

The second reason is multi-platform support.

The third reason I think is a very very important is the fact that docker containers are lightweight and isolated from each other.

Let's discuss each one of these in a little bit more detail.

Let's get started.

The first one standardized application packaging.

The interesting thing with Docker is the fact that the application packaging is standardized irrespective of whether you're building a real application a python application a javascript application you would build a darker image and the Docker image would contain all that you'd need to run this application.

This would ensure that you can run this image any veer you don't really need to worry about what is present inside that image.

Once you have the image you can run it anywhere.

And that's where multi-platform support comes into picture.

Once you have a docker engine installed you can run the Docker image on a local machine or a data center or inside the cloud.

Each of the cloud providers have amazing support for Docker Amazon Web Services as your Google Cloud Platform.

All of these provide amazing options to run your containers and they also provide communities implementations to do container orchestration and run these containers.

So the important thing to understand is the fact that once you build a Docker image whether it's full agile application whether it's a javascript application or any other kind of application you can run it on any of the platforms on your local machine inside a data center or inside the cloud.

The next important reasons of the popularity of Docker is the fact that docker containers are lightweight and isolated from each other.

What do I mean by docker containers are lightweight before Docker.

David you can virtualize things was using something called virtual machines on the screen right now.

You can see a typical architecture with a virtual machine with a virtual machine.

You have a hardware you had a host operating system on top of which you had something called hypervisor to bring into virtualization.

And on top of it is where all your virtual machines are installed and each of these virtual machines also had a guest operating system.

So with virtual machine architecture there are two operating systems a guest OS and a host OS.

And because of this the virtual machines are heavyweight when you virtualize you'll not be able to really make use of the entire power of your hardware because of virtualization.

That's where Docker comes in with Docker all that you need to run the containers is a docker engine if you have some kind of an infrastructure even if it's a cloud infrastructure.

And on top of it you have a host operating system.

And on top of it you have a docker engine installed.

Once you have the docker engine installed you can run any kind of containers on it.

The container images contain everything that is needed to run the container.

They contain the application all the software they would need.

So you don't really need anything else.

And because of this the docker containers are lightweight and the entire architecture of using Docker is a very very efficient docker containers are not only lightweight but they're also isolated from each other.

You can assign a specific memory a specific amount of you to each of these containers.

You can take container one you get 20 percent of this view and it will not be able to use more than 20 percent of this if you at any point in time.

Similar limits can also be placed on memory as well.

Also the docker engine can ensure that the failure of one container does not really impact any of the other containers.

This would ensure that a problem with one container will not spread to other containers and the rest of the environment remains stable.

This week we looked at the important reasons why Docker is becoming popular.

We talked about standardize application packaging and multi platform support.

Once you build a darker image whether it's of a job application or Python application or New Jersey application you'll be able to take it and deploy it in multiple places on your local machine on a data center or inside the cloud using any of the container orchestration tools which why dead inside the cloud docker containers are lightweight compared to actual machines and also Docker engine provides good isolation between these containers.

The failure of one container will not cause the other containers to fail.

I'm sure you're having a lot of fun and I'll see you in the next step.

  • No labels
Write a comment…