'Custom Windows Docker Container Base Image

I have a service that uses an API for a desktop software. I currently have this deployed by VM's. On the VM I have the required desktop software and my service. This works great. I am wondering is it possible to install the required desktop software into a Windows Docker Image? I have tried before, but I run into the problem of no GUI in the Docker Container. The Desktop software can only be installed via a GUI installer.



Solution 1:[1]

Windows containers don't provide a GUI/desktop, so any app that is dependent on that won't work on Windows containers.

I blogged about this here: https://cda.ms/4hB and explained that Windows containers have the underlying GUI APIs available so if your application relies on those APIs, it would still work, but is the dependency extends to the desktop itself, then it won't work.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1