docker and windows: the state of the union
TRANSCRIPT
Docker and WindowsThe State of the Union
Elton Stoneman@EltonStoneman | [email protected]
• The Docker platform on Windows
• Limitations and differences
• Dockerizing Windows applications
• Running hybrid swarms
w3wp.exe nginx
w3wp.exe nginx
w3wp.exe nginx
PS C:>
:~$
.NET Fx
ASP.NET
Web App
Server Core
IIS
> docker build
# 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
> docker push
hub.docker.com
> docker run
Docker on Windows demo
Current Limitations• Overlay networking
– Swarm mode
• RAM disk
– Secrets
• Mounts
– Volumes & pipes
sixeyed/docker-windows-kb
Differences• Base images
– Monthly release
• Isolation mode
– Hyper-V containers
• Licensing & support
– Docker & Microsoft
Windows Apps in Docker Compose demo
GET
GET
Hybrid swarm demo
Manager + UCP Worker + DTR Worker Worker
THANK YOU