Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils...

32
The real-realworld of stacking containers in production. Daniël van Gils / Cloud 66 @foldingbeauty - www.cloud66.com ROME 24-25 MARCH 2017

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

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

developer advocate

Page 3: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017

hello hero!

Page 4: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017
Page 5: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017

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

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

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

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

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

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

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

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

containerizationmachine

"

#$

%

&

$$

Page 14: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017

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

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

"

#$

%

&

=

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

“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

less is more

Page 19: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017

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

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

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

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

reality check

Page 24: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017

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

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

container nursery platform

Page 27: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017

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

headspace

Page 29: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017

choose wisely

Page 30: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017

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

hero’s container journey

headspaceartichoke model

less is more

Page 32: Docker Inside/Out: the ‘real’ real-world of stacking containers in production- Daniël van Gils - Codemotion Rome 2017

thank you!

promo: Rome2017 / $60.00@foldingbeauty // www.cloud66.com