Can I run a .Net web application on Dockers for windows?

Can I package up a .Net web application (that normally runs on Windows 7 etc) to run in a Docker container, and then execute it on ‘any’ host supporting Docker?
Such as Dockers on Linux or Dockers on Windows etc?

  • Google Container Engine stdout Logs Not Showing Up
  • Docker - start container with environments variables
  • Can containers share a framework?
  • Editing a running docker container
  • Python docker / detectem not working
  • Running Boot2docker behind proxy, getting FATA[0020] Forbidden for any interaction with Docker hub
  • Docker MySQL: Connecting a Rails app to MySQL
  • NPM install via git+https//x-oauth-basic within Docker container fails
  • Is it possible to start multiple docker daemons on the same machine
  • Docker/virtualisation and HDFS
  • Cannot access nginx url within container
  • How do I filter docker swarm nodes by label?
  • One Solution collect form web for “Can I run a .Net web application on Dockers for windows?”

    You can at least use dotnet core image.

    From Getting Started with .NET and Docker:

    https://msdnshared.blob.core.windows.net/media/2015/12/12.jpg

    .NET Core is the open-source version of .NET which is available now. It has a different focus from the full .NET and it’s a modular framework, so you only include the parts you need – the framework itself is composed from NuGet packages.

    Before you can run .NET Core apps on a Linux (or OS/X, or Windows) machine, you need to install the DNX runtime. This isn’t the full .NET runtime that we have on Windows; it’s a slimmed-down .NET Execution Environment (DNX).

    When you define a Docker image, you start from an existing base image, and the sixeyed/coreclr-base image which is publically available on the Hub already has the DNX installed and configured. To containerize your own .NET Core app, just use that base image and add in your own code.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.