Embed presentation
Download to read offline












![# escape=`
FROM microsoft/windowsservercore
SHELL ["powershell", "-Command"]
RUN Add-WindowsFeature Web-server, `
NET-Framework-45-ASPNET, Web-Asp-Net45; `
Remove-Website -Name 'Default Web Site'
COPY ProductLaunchWeb /product-launch-web
RUN New-Website -Name 'product-launch' `
-PhysicalPath 'C:product-launch-web' -Port 80
EXPOSE 80
COPY bootstrap.ps1 /
ENTRYPOINT ./bootstrap.ps1](https://image.slidesharecdn.com/docker-windows-101-to-production-171110143127/85/Xpirit-MeetUp-Docker-Windows-Workshop-13-320.jpg)











The document provides an overview of using Docker on Windows, highlighting its efficiency compared to virtual machines and the benefits of containerization, such as portability and consistent deployment. It details the process of building a Docker image for an ASP.NET web application using Windows Server Core, including commands for installing necessary features and creating a new website. Additionally, it addresses the differences between running applications on Windows versus Linux within containers.












![# escape=`
FROM microsoft/windowsservercore
SHELL ["powershell", "-Command"]
RUN Add-WindowsFeature Web-server, `
NET-Framework-45-ASPNET, Web-Asp-Net45; `
Remove-Website -Name 'Default Web Site'
COPY ProductLaunchWeb /product-launch-web
RUN New-Website -Name 'product-launch' `
-PhysicalPath 'C:product-launch-web' -Port 80
EXPOSE 80
COPY bootstrap.ps1 /
ENTRYPOINT ./bootstrap.ps1](https://image.slidesharecdn.com/docker-windows-101-to-production-171110143127/85/Xpirit-MeetUp-Docker-Windows-Workshop-13-320.jpg)









