Docker on Windows
Ahmet Alp Balkan
Software Engineer
Microsoft Azure
@ahmetalpbalkan
Taylor Brown
Program Manager
Microsoft Operating
Systems Group
@HyperV_taylorb
Daniel Roth
Program Manager
ASP
.NET
@danroth27
Slide 2
Slide 2 text
No content
Slide 3
Slide 3 text
Will Docker run
Windows Containers?
Yes.
Slide 4
Slide 4 text
No content
Slide 5
Slide 5 text
Windows Containers on Linux?
No.
Slide 6
Slide 6 text
Linux Containers on Windows?
No.
Slide 7
Slide 7 text
Will I be able to manage
Linux Containers from Windows?
Yes.
Slide 8
Slide 8 text
Will I be able to manage
Windows Containers from Linux?
Yes.
Slide 9
Slide 9 text
Does this mean
a docker CLI for Windows?
Yes!
Slide 10
Slide 10 text
No content
Slide 11
Slide 11 text
Will there be a
Docker Engine (daemon)
for Windows Server?
Yes.
Slide 12
Slide 12 text
No content
Slide 13
Slide 13 text
Will the container image format
be the same?
Mostly.
Slide 14
Slide 14 text
When is Windows Server
Container Support coming?
Soon.
Slide 15
Slide 15 text
Can I run Docker on Azure today?
Yes!
Slide 16
Slide 16 text
No content
Slide 17
Slide 17 text
Docker CLI for Windows
(docker.exe)
Slide 18
Slide 18 text
No content
Slide 19
Slide 19 text
Porting Docker CLI to Windows
• Docker is written in Go
• Cross-compiled for Windows
• Terminal (tty) code for Windows
• Platform specific issues
• e.g. paths (‘\’ vs ‘/’)
• Currently in bug fix mode
Slide 20
Slide 20 text
Where can I get it?
You need to compile it yourself, for now:
http://alp.im/blog/compiling-docker-cli-on-windows
Slide 21
Slide 21 text
Demo!
Slide 22
Slide 22 text
ASP
.NET Docker Image
(docker pull microsoft/aspnet)
Slide 23
Slide 23 text
Microsoft’s first official Docker image
Slide 24
Slide 24 text
How does ASP
.NET run on Linux?
Slide 25
Slide 25 text
.NET is going open source and cross-platform!
http://github.com/dotnet/Home
Slide 26
Slide 26 text
New ASP
.NET 5 is cross-platform!
http://github.com/aspnet/Home
• Runs on the .NET Framework,
.NET Core and Mono today
• Host on IIS/Http.sys, Kestrel, or any
OWIN-based web server
• Cross-platform CLI tools
Slide 27
Slide 27 text
OmniSharp – Cross platform .NET dev tools
http://omnisharp.net
• IntelliSense
• Add Reference
• Format Document
• Deploy to Azure
• …Much more!
• Open source and
community driven
Slide 28
Slide 28 text
Demo: Running ASP
.NET 5 on Docker
Slide 29
Slide 29 text
microsoft/aspnet
mono
debian
ộ
ASP
.NET 5 Preview binaries
Open source .NET runtime
Base OS image
Slide 30
Slide 30 text
Demo!
Slide 31
Slide 31 text
No content
Slide 32
Slide 32 text
More than 20% of
Microsoft Azure is
running Linux.
Slide 33
Slide 33 text
First-class support
for Linux workloads.
Slide 34
Slide 34 text
Increasing support
for Docker and
Open Orchestration APIs.