what is docker and why is it so hot?

25
What is Docker and why is it so hot? 6th Docker Switzerland User Group Meetup

Upload: jochen-zehnder

Post on 21-Jan-2018

442 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: What is Docker and why is it so hot?

What is Docker and why is it so hot?

6th Docker Switzerland User Group Meetup

Page 2: What is Docker and why is it so hot?

Who am I?• Jochen Zehnder

• elft3r (GitHub / Twitter / Docker Hub / …)

• Software Developer @netIT-Services

• Automation of Datacenter Processes (a.k.a. Private Cloud)

• previously: SAP Systems

• currently: Oracle DBs

• Docker enthusiast

• since v0.6

• Co-Organizer Docker Switzerland Meetup

Page 3: What is Docker and why is it so hot?

What / Who is Docker?

Page 4: What is Docker and why is it so hot?

Docker Inc.• The Company that started the ‘hype’

• previously called dotCloud

• open sourced docker code base in March 2013

• 23.03: Docker Birthday Celebration in Zurich

• ‘Build, Ship and Run any App, Anywhere’

Page 5: What is Docker and why is it so hot?

Photo Caption (Drag&drop a new photo onto photo to change)

7

PROGRAMMING

What is the biggest innovation multiplier today?

Page 6: What is Docker and why is it so hot?

Photo Caption (Drag&drop a new photo onto photo to change)

Billions of creative people Incredible technology

4

Page 7: What is Docker and why is it so hot?

Photo Caption (Drag&drop a new photo onto photo to change)

Mass innovation

5

Page 8: What is Docker and why is it so hot?

(Docker) Containers

Page 9: What is Docker and why is it so hot?

What are Containers?

https://www.docker.com/what-docker

Page 10: What is Docker and why is it so hot?

What are Containers?• Collection of kernel features

• OS specific

• Linux: “chroot on steroids” - Jérôme Petazzoni

• namespaces

• cgroups

• (copy-on-write storage)

Page 11: What is Docker and why is it so hot?

Container Runtimes• Docker Engine

• uses libcontainer (future runC)

• Docker Images

• rkt (by CoreOS)

• Docker Images

• App Container Images (appc)https://github.com/coreos/rkt/blob/master/Documentation/rkt-vs-other-projects.md

Page 12: What is Docker and why is it so hot?

Image

• Standardised Unit

• read-only filesystem containing relevant binaries / libraries / …

• some configuration information

https://www.docker.com/what-docker

Page 13: What is Docker and why is it so hot?

Docker Toolbox

Page 14: What is Docker and why is it so hot?

Photo Caption (Drag&drop a new photo onto photo to change)

3

Our mission is to build

tools of mass innovation

Page 15: What is Docker and why is it so hot?

Docker Toolbox• Docker Engine

• Docker Machine

• Docker Compose

• Docker Swarm

• Docker Registry

• Kitematic

Page 16: What is Docker and why is it so hot?

Docker Toolbox• Docker Registry

• Application to store and distribute Docker Images

• e.g. Docker Hub a public Registry

• Kitematic

• Desktop GUI to manage Docker Containers

• Supports OS X, Windows and Linux

Page 17: What is Docker and why is it so hot?

Docker Engine

• Core of the Docker Platform

• Build, Pull, Push, … Images

• Create, Update, Delete, … containers

• Manage networks, volumes, …

Page 18: What is Docker and why is it so hot?

Docker Engine

https://docs.docker.com/engine/understanding-docker/

Page 19: What is Docker and why is it so hot?

Docker Machine• Provisioning of Docker Engines

• VirtualBox

• Amazon EC2

• DigitalOcean

• …

• Configuration of Docker client

Page 20: What is Docker and why is it so hot?

Docker Compose

• Define multi-container applications

• uses ‘docker-compose.yml’ files

• describe each container

Page 21: What is Docker and why is it so hot?

Docker Swarm

• Cluster support for Docker

• Groups multiple Docker Engines into a single, virtual Docker Engine

• Scaling out / in of applications

Page 22: What is Docker and why is it so hot?

Demo

Page 23: What is Docker and why is it so hot?

Voting Appvoting-app

redis

worker

db

result-app

https://github.com/docker/example-voting-app

Page 24: What is Docker and why is it so hot?

Demo

20

Linux namespaces

Mount

PID

IPC

User

UTS

Wireshark

Net

Mount

PID

IPC

User

UTS

Net

App

Mount

PID

IPC

User

UTS

VNC

Net

/tmp/.X11-unix/

listen *:5901

Page 25: What is Docker and why is it so hot?

Links• http://www.slideshare.net/Docker/dockercon-eu-

day-1-general-session

• http://www.slideshare.net/Docker/the-latest-on-docker-engine-55435952/19

• http://www.slideshare.net/Docker/cgroups-namespaces-and-beyond-what-are-containers-made-from