Everyone Loves Docker Containers Before They Understand Docker Containers - Alex Mang

Preview:

Citation preview

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

Everyone Loves Docker Containers

Before They Understand Docker

Containers

Alex Mang

Microsoft Azure MVP

KeyTicket Solutions

@mangalexandru

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

Many thanks to our sponsors & partners!

GOLD

SILVER

PARTNERS

PLATINUM

POWERED BY

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

SPEAKER.BIO.TOSTRING()

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

Vista

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

WHAT IS DOCKER?

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

• Code + Runtime + System

tools + System libs

in a single package

• Code runs the same, always,

regardless of environment

What Is Docker?

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

Ligh

twei

ght • Shared kernel

• Layered filesytem O

pen •Runs both on

Linux and Windows

Secu

re •Apps are isolated from each other and the underlying infrastructure

Why Docker?

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

• Developers can build apps in ANY LANGUAGE using ANY TOOLCHAIN

• Dockerized apps are portable

–They can run on your PC, on a colleague’s iMac, on QA servers running Ubuntu, in production VMs running RedHat

• There’s a “NuGet” for Docker with 13K+ apps to build upon

• Docker helps devs build and ship high-quality apps

Why Do Developers Like It?

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

• Sysadmins use Docker to provide standardized environments for development, QA and production teams

• No more “works on my machine” finger-pointing

• With “Dockerized” apps, sysadmins abstract away differences in OS distributions and underlying infrastructure

• Workload deployment is not constrained by infrastructure technology

Why Do Sysadmins Like It?

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

VMs vs. Docker

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

Docker Architecture

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

Docker Installation

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

• docker (as a CLI)

• docker-Machine (as yet another CLI)

• docker

–Start, stop, kill etc. containers

• docker-machine

– Install and run Docker (engine!) on Mac and Windows

–Provision and manage multiple remote Docker hosts

Docker clients

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

Two broad use cases:

1. ‘I want to use Docker on Mac or Windows’

2. ‘I want to use Docker on remote systems’

docker-machine

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

• When people refer to Docker, they mean “Docker

Engine”

–Client-server application made up of a daemon, a REST

API and a CLI

–Docker Engine takes docker commands from the CLI

• Docker Machine is a tool for provisioning and

managing “Dockerized” hosts

–You use it to install Docker Engine locally or remotely

Docker Engine vs. Docker Machine

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

USING DOCKER DEMO

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

CONTAINERS ON AZURE

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

Q & A

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

@ITCAMPRO #ITCAMP16Community Conference for IT Professionals

Alex Mang@mangalexandru