Containers / Tech / Docker

How to build native Docker containers for Windows

Aaron Walker

30 Second Read

Docker containers for Native Windows platforms is something we have waited for for a long time.

Here it is, now we can build windows based apps the same way we do everything else

FROM microsoft/iis

RUN mkdir C:\site

RUN powershell -NoProfile -Command \
Import-module IISAdministration; \
Remove-WebSite -Name 'Default Web Site'; \
New-IISSite -Name "Site" -PhysicalPath C:\site -BindingInformation "*:80:"


ADD default.htm /site/default.htm

The above use the big container, removes the default website and adds a new site.

More Blog Posts