Search code examples
windowsdockervisual-studio-2017windows-server-2016docker-image

How to build docker images for windows using VS2017 and Docker integration?


I'm working on Visual studio and Docker integration, but after working with some sample projects I realized that I can only build docker images for linux but not for windows. Is there any way to build docker images for windows?


Solution

  • With Visual Studio 2017, you can target .NET FX using Console or ASP.NET apps with Windows Server Core containers. With the preview channel of Visual Studio 2017 (https://www.visualstudio.com/vs/preview/) you can now support .NET Core on Windows Nano containers as well. Steve