20
Docker offshore – packaging applications for hard to reach data- centers Joern Barthel Berlin, 23.10.2014

Docker offshore

Embed Size (px)

DESCRIPTION

Ignite Talk DevOpsDays Berlin 2014 helb by Joern Bartel

Citation preview

Page 1: Docker offshore

Docker offshore – packaging applications for hard to reach data- centers

Joern Barthel

Berlin, 23.10.2014

Page 2: Docker offshore

2Berlindevopsdays 2014

Page 4: Docker offshore

4

Benefits

Executable documentation

“What you check in is what you

get”

Determinism for your runtime

environment

Berlindevopsdays 2014

Page 9: Docker offshore

9

Not so fast, not so reliable

Age of vessel & equipment

Geolocation

Geopolitics

Berlindevopsdays 2014

Page 10: Docker offshore

10

Solution: immutable environments

Docker!

Berlindevopsdays 2014

Page 11: Docker offshore

11

Docker in a nutshell

Golang client & server

Containers virtualize perspective

not hardware

Berlindevopsdays 2014

Page 12: Docker offshore

12

Immutable images

Build

Name and distribute

Run (as containers)

Berlindevopsdays 2014

Page 13: Docker offshore

13

What’s in abuild?

Commands build layers

Union of changes

Environment

Immutable filesystem

Caching rules

Berlindevopsdays 2014

Page 14: Docker offshore

14

What’s in aname?

Repository of images

Projects names, git revisions,

versions etc.

Implicit pull & push

Berlindevopsdays 2014

Page 15: Docker offshore

15

What’s in a container?

Parameterized process

Sharing ports, volumes

Restricting stuff

Mutable filesystem

Berlindevopsdays 2014

Page 16: Docker offshore

16

Easier determinism

Same image everywhere

Easier reasoning about state of

remote datacenter

Berlindevopsdays 2014

Page 17: Docker offshore

17

Ship changes

Save bandwidth by shipping only

incremental diffs

Release or patch

Berlindevopsdays 2014

Page 18: Docker offshore

18

Simplified packaging

Concrete provisioning

No custom packaging for LTS

environments

Berlindevopsdays 2014

Page 19: Docker offshore

19

Separation of concerns

Regulations!

Developers build images

Operators run containers

Berlindevopsdays 2014

Page 20: Docker offshore

20

Summary

Being immutable helps with

reasoning

Concrete vs. abstract reduces

complexity

Berlindevopsdays 2014