Docker and Windows: The State of the Union

21
Docker and Windows The State of the Union Elton Stoneman @EltonStoneman | [email protected]

Transcript of Docker and Windows: The State of the Union

Page 1: Docker and Windows: The State of the Union

Docker and WindowsThe State of the Union

Elton Stoneman@EltonStoneman | [email protected]

Page 2: Docker and Windows: The State of the Union

• The Docker platform on Windows

• Limitations and differences

• Dockerizing Windows applications

• Running hybrid swarms

Page 3: Docker and Windows: The State of the Union

w3wp.exe nginx

Page 4: Docker and Windows: The State of the Union

w3wp.exe nginx

Page 5: Docker and Windows: The State of the Union
Page 6: Docker and Windows: The State of the Union
Page 7: Docker and Windows: The State of the Union

w3wp.exe nginx

PS C:>

:~$

Page 8: Docker and Windows: The State of the Union
Page 9: Docker and Windows: The State of the Union

.NET Fx

ASP.NET

Web App

Server Core

IIS

> docker build

Page 10: Docker and Windows: The State of the Union

# escape=`FROM microsoft/windowsservercoreSHELL ["powershell", "-Command"]

RUN Add-WindowsFeature Web-server, ` NET-Framework-45-ASPNET, Web-Asp-Net45; ` Remove-Website -Name 'Default Web Site' COPY ProductLaunchWeb /product-launch-webRUN New-Website -Name 'product-launch' ` -PhysicalPath 'C:\product-launch-web' -Port 80

EXPOSE 80

COPY bootstrap.ps1 /ENTRYPOINT ./bootstrap.ps1

Page 11: Docker and Windows: The State of the Union

> docker push

hub.docker.com

Page 12: Docker and Windows: The State of the Union

> docker run

Page 13: Docker and Windows: The State of the Union

Docker on Windows demo

Page 14: Docker and Windows: The State of the Union

Current Limitations• Overlay networking

– Swarm mode

• RAM disk

– Secrets

• Mounts

– Volumes & pipes

sixeyed/docker-windows-kb

Page 15: Docker and Windows: The State of the Union

Differences• Base images

– Monthly release

• Isolation mode

– Hyper-V containers

• Licensing & support

– Docker & Microsoft

Page 16: Docker and Windows: The State of the Union

Windows Apps in Docker Compose demo

Page 17: Docker and Windows: The State of the Union

GET

Page 18: Docker and Windows: The State of the Union

GET

Page 19: Docker and Windows: The State of the Union

Hybrid swarm demo

Page 20: Docker and Windows: The State of the Union

Manager + UCP Worker + DTR Worker Worker

Page 21: Docker and Windows: The State of the Union

THANK YOU