An Introduction to Docker

Post on 08-Jan-2017

343 views 0 download

transcript

An Introduction To By Suren RodrigoConsultant, Software Product Engineering

The partner of choice for ISV's

Application Servers, VMs, Containers, Docker….. What’s all the fuss about?

“It’s all about Applications”

We want a secure, isolated runtime environment for our applications to run.

The partner of choice for ISV's

And then there were VMs….

> Initially we had 1 server running 1 application and the resource utilization efficiency was very poor.

The partner of choice for ISV's

VMs are good, but….

> With VMs, We can run 1 application per VM, which is a huge improvement from 1 application per server model.

> But we still need a full blown OS and other heavy virtualization components to power up each VM.

> What we really want is just an environment to run our application. (Remember, it’s all about application)

The partner of choice for ISV's

VMs OUT….Containers IN

> Container runs a super lightweight bare minimal OS environment.

> It shares a single kernel of the host. Hence, heavy lifting is done at host level.

> Much faster and easy to setup than a VM

The partner of choice for ISV's

Why Containers are sooooo cool

> Each Container gets it’s own> Isolated File system> Isolated Process tree> Isolated network stack

“We get an isolated runtime environment for our applications to run. Without the

fuss of VMs”

The partner of choice for ISV's

….ok…but, WHAT IS Docker?

> Docker is an implementation of the container technology we described earlier.

> Docker provides a way to run almost any application securely isolated in a container.

> Docker provide necessary tools for developers to simply manage application development and deployment.

The partner of choice for ISV's

Why is this a big deal?

> As you can see, if it works locally, it works anywhere.

> Docker makes sure your container will run the same way anywhere the Docker engine is available.

> No More “It works on my machine” song

The partner of choice for ISV's

It gets better…

> Docker images can be customized and each customized image can be “pushed” into a Docker registry (ex: Docker Hub) and others can “pull” the image and quickly setup the same environment in their local machines.

> Whole ecosystem is built on top of Docker with container discovery, registry and monitoring.

> Container Technology is at the heart of new software development architectures such as Microservices.

The partner of choice for ISV's

Demo Time.

> Let’s build a image for our Node Microservices development work.

> Use that image to deploy our Microservices quickly.

the partner of choice for ISV's