Docker on Windows

Post on 13-Apr-2017

274 views 0 download

Transcript of Docker on Windows

Current status of

Docker on Windows

Stefan Scherer @stefscherer

February 25 2016, Docker Meetup Bamberg

1 / 35

Who am I?

2 / 35

Who am I?Software Engineer at SEAL Systems

3 / 35

Who am I?Software Engineer at SEAL Systems

Docker chocolatey package maintainer

4 / 35

Who am I?Software Engineer at SEAL Systems

Docker chocolatey package maintainer

Docker Pirate

5 / 35

Windows Containers

6 / 35

What is it all about?

7 / 35

What is it? A lightweight virtualization for applications

8 / 35

What is it? A lightweight virtualization for applications

Smaller than VM's

9 / 35

What is it? A lightweight virtualization for applications

Smaller than VM's

Just the files needed to run the application

10 / 35

What is it?

Why use it?

11 / 35

What is it?

Why use it?Build - Ship - Run

12 / 35

What is it?

Why use it?Build - Ship - Run

Reproducible development environment

13 / 35

What is it?

Why use it?Build - Ship - Run

Reproducible development environment

Same container in dev

14 / 35

What is it?

Why use it?Build - Ship - Run

Reproducible development environment

Same container in dev, test

15 / 35

What is it?

Why use it?Build - Ship - Run

Reproducible development environment

Same container in dev, test and prod

16 / 35

What is it?

Why use it?Build - Ship - Run

Reproducible development environment

Same container in dev, test and prod

Containers are versioned

17 / 35

What is it?

Why use it?

How does itwork?

18 / 35

What is it?

Why use it?

How does itwork?

NamespacesFile System

19 / 35

What is it?

Why use it?

How does itwork?

NamespacesFile System

Process IDs

20 / 35

What is it?

Why use it?

How does itwork?

NamespacesFile System

Process IDs

Registry

21 / 35

What is it?

Why use it?

How does itwork?

NamespacesFile System

Process IDs

Registry

Networking

22 / 35

How does it look like?

23 / 35

System architecture

24 / 35

Container typesWindows Server Containers

use same Windows kernel

lightweight, faster

Hyper-V Containersrunning in Hyper-V

better isolation

docker run --isolation=hyperv

25 / 35

Base container imagesWindows Server Core

nearly full Win32 compatible

about 9 GByte

Nano Serverfast to boot

software may need porting

about 700 MByte

FROM scratchBase images must be preinstalled on Container Host

26 / 35

Demo time!

27 / 35

What about other Docker tools?

28 / 35

Swarm Works

Networking is tricky with TP4

Multi architecture swarm cluster demo at DockerCon

29 / 35

Swarm

Compose

Works, but ...

Networking is tricky with TP4

No links

Tried net: noneCan't wait for TP5!

30 / 35

Swarm

Compose

Machine

Works for Linux Docker Engines

No docker-machine create -d for TP4 at the moment

Discussion in docker/machine#2907

31 / 35

Swarm

Compose

Machine

Registry

Works for Windows Containers, serving from Linux

docker pull from private Registry

docker push to private Registry

32 / 35

Where to go next?

33 / 35

Thank you!

Stefan Scherer

@stefscherer

github.com/StefanScherer

scherer_stefan@icloud.com

35 / 35