Docker for Windows to host IIS Server - what is the path?

Solution 1:

It looks like this is what you are after:

https://github.com/Microsoft/Virtualization-Documentation/tree/live/windows-container-samples/iis

Sample to create a Windows Server Container Image with IIS 10.0 enabled

These samples were created for Windows Server 2016 Technical Preview 3 with Containers. They assume that the WindowsServerCore Container base image is present.

Solution 2:

The sample Bryan posted is a great resource (that's the Hyper-V GitHub account so we do track issues and requests there).

In addition, we used IIS as the default workload for our Windows Server Container and Hyper-V Container quickstart guides. Here are step by step instructions for Server TP4: https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/manage_docker.