If you are interested in running service fabric with Windows containers there are a few things to consider while the functionality is in public preview.
First, when you spin up the service fabric cluster it needs some additional settings in order to build the Virtual Machine scale set properly.
When creating the cluster, we need to set the operating system to WindowsServer-2016-Datacenter-with-Containers. This enables the virtual machines in the virtual machine scale set to have the right operating system setup to allow support for containers inside a virtualized environment.
The next two settings that need to be set are on step #2 where we are configuring the cluster configuration. Here we need to select “Show optional settings”.
Then on the optional settings screen, we need to ensure that “include DNS service” is selected and that the Fabric version is set to “Automatic”. The first setting enables the ability for containers to see each other as Windows requires DNS services in order for host names to be assigned to them. Docker will not do this for a Windows container.
Setting up the cluster in this particular way will allow you to run Windows containers inside Service Fabric.Twitter Facebook Google+ LinkedIn