Dockerizing Windows Applications

Elton Stoneman has a five-step process for turning your Windows app into a containerized application:

1. Choose Your Base Image

Docker images for Windows apps need to be based on microsoft/nanoserver or microsoft/windowsservercore, or on another image based on one of those.

Which you use will depend on the application platform, runtime, and installation requirements. For any of the following you need Windows Server Core:

  • .NET Framework apps
  • MSI installers for apps or dependencies
  • 32-bit runtime support

For anything else, you should be able to use Nano Server. I’ve successfully used Nano Server as the base image for Go, Java and Node.js apps.

This is good reading if you’re thinking of offering a containerized version of your product.

Related Posts

Spinning Up SQL Server Containers In Jenkins

Chris Adkin has a few tips for loading SQL Server in Jenkins as part of testing or deployment: Problem 1 Image Tag There is no image tag specified for the microsoft/mssql-server-linux image, therefore, if Microsoft push a newer version of the image to docker hub, this will be pulled down from docker hub when the […]

Read More

Docker And R

Mara Averick has some resources to help you get started with running R in a Docker container: liftr 📦 by Nan Xiao 🐳📜 Docker your docs: “liftr: Containerize R Markdown Documents” by @road2stat #rstats #docker #rmarkdown — Mara Averick (@dataandme) October 15, 2017 liftr aims to solve the problem of persistent reproducible reporting. To achieve this goal, it extends the R Markdown […]

Read More


March 2017
« Feb Apr »