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