Upload
kreuzwerker-gmbh
View
156
Download
1
Tags:
Embed Size (px)
DESCRIPTION
Ignite Talk DevOpsDays Berlin 2014 helb by Joern Bartel
Citation preview
Docker offshore – packaging applications for hard to reach data- centers
Joern Barthel
Berlin, 23.10.2014
2Berlindevopsdays 2014
3Berlindevopsdays 2014
4
Benefits
Executable documentation
“What you check in is what you
get”
Determinism for your runtime
environment
Berlindevopsdays 2014
5Berlindevopsdays 2014
6Berlindevopsdays 2014
7Berlindevopsdays 2014
8Berlindevopsdays 2014
9
Not so fast, not so reliable
Age of vessel & equipment
Geolocation
Geopolitics
Berlindevopsdays 2014
10
Solution: immutable environments
Docker!
Berlindevopsdays 2014
11
Docker in a nutshell
Golang client & server
Containers virtualize perspective
not hardware
Berlindevopsdays 2014
12
Immutable images
Build
Name and distribute
Run (as containers)
Berlindevopsdays 2014
13
What’s in abuild?
Commands build layers
Union of changes
Environment
Immutable filesystem
Caching rules
Berlindevopsdays 2014
14
What’s in aname?
Repository of images
Projects names, git revisions,
versions etc.
Implicit pull & push
Berlindevopsdays 2014
15
What’s in a container?
Parameterized process
Sharing ports, volumes
Restricting stuff
Mutable filesystem
Berlindevopsdays 2014
16
Easier determinism
Same image everywhere
Easier reasoning about state of
remote datacenter
Berlindevopsdays 2014
17
Ship changes
Save bandwidth by shipping only
incremental diffs
Release or patch
Berlindevopsdays 2014
18
Simplified packaging
Concrete provisioning
No custom packaging for LTS
environments
Berlindevopsdays 2014
19
Separation of concerns
Regulations!
Developers build images
Operators run containers
Berlindevopsdays 2014
20
Summary
Being immutable helps with
reasoning
Concrete vs. abstract reduces
complexity
Berlindevopsdays 2014