Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils...
-
Upload
codemotion -
Category
Technology
-
view
22 -
download
2
Transcript of Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils...
![Page 1: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/1.jpg)
The real-realworld of stacking containers in production.
Daniël van Gils / Cloud 66 @foldingbeauty - www.cloud66.com
ROME 24-25 MARCH 2017
![Page 2: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/2.jpg)
developer advocate
![Page 3: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/3.jpg)
hello hero!
![Page 4: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/4.jpg)
![Page 5: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/5.jpg)
the hero’s [container] journey
![Page 6: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/6.jpg)
ORDINARY IT WORLD
VERY SPECIAL CONTAINER
WORLD
UNDERSTAND
EXPERIMENTAL LEARNINGEXECUTE
INTEGRATE
![Page 7: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/7.jpg)
ORDINARY IT WORLD
VERY SPECIAL CONTAINER
WORLD
1
1ordinary world
2 call to adventure
2
3 refusal of the call
3
4 meeting the mentor
4
UNDERSTANDING
![Page 8: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/8.jpg)
follow the
heart (what drives us?)
![Page 9: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/9.jpg)
dev
ops
people
artichoke model
businessfollow
the heart
!
![Page 10: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/10.jpg)
ORDINARY IT WORLD
VERY SPECIAL CONTAINER
WORLD
1
ordinary world
23
5 crossing the threshold
5
UNDERSTANDING
4 meeting the mentor
4
![Page 11: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/11.jpg)
containers isolate a process
Miss Java
Big Gopher
Madam Ruby
Mr. Rabbit M.Q.
Dr. P. H. Page
Mr. Drs. D. Base
![Page 12: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/12.jpg)
FROM base ( ) RUN update + setup COPY source-code RUN create + cleanup CMD run code
very clever kernel stuff Linux for the win!
container
a Dockerfile
![Page 13: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/13.jpg)
containerizationmachine
"
#$
%
&
$$
![Page 14: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/14.jpg)
think global, act local
![Page 15: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/15.jpg)
ORDINARY IT WORLD
VERY SPECIAL CONTAINER
WORLD
1
ordinary world
23
4
5 crossing the threshold
5
6 tests, allies, enemies
6
EXPERIMENTAL LEARNING
![Page 16: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/16.jpg)
"
#$
%
&
=
containerizationmachineyou can’t polish a turd
![Page 17: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/17.jpg)
“I didn't have time to create a slim image, so I created a fat one instead.”
shortcuts are evil
![Page 18: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/18.jpg)
less is more
![Page 19: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/19.jpg)
ORDINARY IT WORLD
VERY SPECIAL CONTAINER
WORLD
1
ordinary world
23
4
crossing the threshold
57 approach
76 tests, allies, enemies
6
EXPERIMENTAL LEARNING
![Page 20: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/20.jpg)
Keep Images S…, Silly
![Page 21: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/21.jpg)
SLIM SECURE SPEEDY STABLE SET
Keep Images
![Page 22: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/22.jpg)
ORDINARY IT WORLD
VERY SPECIAL CONTAINER
WORLD
1
ordinary world
23
4
crossing the threshold
56
8ordeal, death and rebirth
8
7 approach
7
EXPERIMENTAL LEARNING
![Page 23: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/23.jpg)
reality check
![Page 24: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/24.jpg)
microservices 10%
split 20%
api 30%
monolith 40%
EXECUTE
![Page 25: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/25.jpg)
ORDINARY IT WORLD
VERY SPECIAL CONTAINER
WORLD
1
ordinary world
23
4
crossing the threshold
56
7
8ordeal, death and rebirth
89reward
9
EXECUTE
![Page 26: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/26.jpg)
container nursery platform
![Page 27: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/27.jpg)
ORDINARY IT WORLD
VERY SPECIAL CONTAINER
WORLD
1
ordinary world
23
4
crossing the threshold
56
7
ordeal, death and rebirth
89reward
910road back
EXECUTE
![Page 28: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/28.jpg)
headspace
![Page 29: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/29.jpg)
choose wisely
![Page 30: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/30.jpg)
ORDINARY IT WORLD
VERY SPECIAL CONTAINER
WORLD
ordinary world
crossing the threshold
ordeal, death and rebirth
road back
12return with elixir
1211resurrection
11
INTEGRATE
![Page 31: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017](https://reader031.fdocuments.net/reader031/viewer/2022030307/58e4a1d41a28aba3458b622d/html5/thumbnails/31.jpg)
hero’s container journey
headspaceartichoke model
less is more