40
From zero to hero with Docker Maurice de Beijer @mauricedb Running your ASP.NET Core 1 application in a Docker container

From zero to hero with Docker

Embed Size (px)

Citation preview

Page 1: From zero to hero with Docker

From zero to hero with Docker

Maurice de Beijer @mauricedb

Running your ASP.NET Core 1 application in a Docker container

Page 2: From zero to hero with Docker

2

Who am I?

• Maurice de Beijer• The Problem Solver• Microsoft Azure MVP• Freelance developer/instructor• Twitter: @mauricedb and @React_Tutorial• Web:http://www.TheProblemSolver.nl• E-mail: [email protected]

Page 3: From zero to hero with Docker

3

Page 4: From zero to hero with Docker

4

Page 5: From zero to hero with Docker

5

Page 6: From zero to hero with Docker

6

Overview

• What are containers• What is Docker• Creating and running Docker images• Running an ASP.NET Core 1.0 App– In a Linux container– In a Windows container

• But we need more

Page 7: From zero to hero with Docker

7

What is a container?

Page 8: From zero to hero with Docker

8

Once upon a ship

Page 9: From zero to hero with Docker

9Loading cargo the old way

Page 10: From zero to hero with Docker

10

A container ship these days

Page 11: From zero to hero with Docker

11

Loading is a bit faster

Page 12: From zero to hero with Docker

12

Running virtual machines

Page 13: From zero to hero with Docker

Virtual Machines vs Containers

13

Page 14: From zero to hero with Docker

14

Namespaces & cgroups

Page 15: From zero to hero with Docker

15

Page 16: From zero to hero with Docker

What is Docker?

16

Page 17: From zero to hero with Docker

Docker Hub

17

Page 18: From zero to hero with Docker

18

Build

ing

cont

aine

rs

Page 19: From zero to hero with Docker

19

Cont

aine

r anti

patt

ern

Page 20: From zero to hero with Docker

20

Orchestration

Page 21: From zero to hero with Docker

21

Dock

er C

ompo

se

Page 22: From zero to hero with Docker

22

ASP.

NET

Cor

e 1.

0 Ap

pon

Lin

ux

Page 23: From zero to hero with Docker

23

Dock

er To

ols f

orVi

sual

Stu

dio

2015

Page 24: From zero to hero with Docker

24

Dock

er To

ols f

orVi

sual

Stu

dio

2015

Page 25: From zero to hero with Docker

25

Dock

er o

n W

indo

ws

Page 26: From zero to hero with Docker

26

Page 27: From zero to hero with Docker

27

ASP.

NET

Win

dow

s con

tain

er

Page 28: From zero to hero with Docker

28

ASP.

NET

Cor

e 1.

0 Ap

pon

Win

dow

s

Page 29: From zero to hero with Docker

29

Containers can be great…

Page 30: From zero to hero with Docker

30

Page 31: From zero to hero with Docker

31…with the right tools!

Page 32: From zero to hero with Docker

32

Page 33: From zero to hero with Docker

33

Page 34: From zero to hero with Docker

34

Page 35: From zero to hero with Docker

35

Page 36: From zero to hero with Docker

36

Page 37: From zero to hero with Docker

37

Page 38: From zero to hero with Docker

38

Page 39: From zero to hero with Docker

39

Page 40: From zero to hero with Docker

40Maurice de Beijer - @mauricedb