image2docker–getting older ASP.NET webforms apps onto newer OSes

Image2Docker may be the simplest path for getting your older .NET apps working on newer OSes.  It works by extracting either an entire VM or specific ‘artificats’ from a VM. 

An artifact can be a WebForms App running on .NET 2.0 on Windows 2003. This use case has been tested by the Image2Docker user community.

Steps to Dockerizing older .NET apps

The IIS module (artifact) in Image2Docker uses the ArtifactParam flag to specify a single IIS website to extract into a Dockerfile.

This allows the extraction of a workload (IIS/ASP.NET webapp) from a VM into a Docker Image (.vhd):

ConvertTo-Dockerfile -ImagePath C:\whereever\win-2016-iis.vhd -Artifact IIS -ArtifactParam aspnet-webforms -Verbose -OutputPath c:\whereever\aspnet-webforms

Specializing in high volume web and cloud application architecture, Anuj Varma’s customer base includes Fortune 100 companies (, British Petroleum, Schlumberger).
Anuj’s training as a mathematical physicist followed by years of advanced computer programming is unique in the industry.

For Anuj’s popular technology seminars and science and scientific computing seminars, please visit ANUJ.COM

For Anuj’s Mathematical Models and Math Modeling related consulting , please visit

All content on this site is original and owned by AdverSite Web Holdings, Inc. – the parent company of No part of it may be reproduced without EXPLICIT consent from the owner of the content.

Anuj Varma – who has written posts on Anuj Varma, Technology Architect.

Leave a Reply

Your email address will not be published. Required fields are marked *