I'm trying to dockerize my ArcMap-application, which is written using ArcObjects for Desktop. The reason to do that is, we have a huge code-base that we want to test automatically as much as possible using unit-tests on our build-pipeline.
So I decided to run all those tests in parallel and to isolate the tests from one another. So every test gets its own database, its own configuration and so on (okay, actually this isn't unit-testing, but integration-testing). I thought about virtual maschines, but those are expensive and way too huge, in particular as I would replicate the entire OS-layer all the time for no reason. That's where containers came into my mind.
Unfortunately ArcMap for Linux does not exist, so we went for Windows-containers. I started by copying some dependencies into the image and installing ArcGIS Desktop into the container using the silent installation. This works well on my windows host-maschine. However I'm not able to do that in my container. Nothing happens.
This is my docker-file
FROM mcr.microsoft.com/windows:ltsc2019 as base
WORKDIR /app
COPY ["ArcGIS 10.8.1/Desktop_German/SetUp.exe", "."]
COPY ["VC_redist.x86.exe", "."] # redistributable for VC++, required for ArcGIS
RUN "VC_redist.x86.exe /q /norestart # install the redistributable
RUN "SetUp.exe" ADDLOCAL=ALL ACCEPTEULA=yes ESRI_LICENSE_HOST=mylicenseserver SOFTWARE_CLASS=Editor SEAT_PREFERENCE=Float DESKTOP_CONFIG=TRUE /qn # install ArcGIS for Desktop
I also tried to just start an empty windows-based container, copy the files into it and use the containers shell in order to install manually:
docker run -it mcr.microsoft.com/windows:ltsc2019 cmd
C:\> ... // copy the files, install redistributable
C:\> SetUp.exe ADDLOCAL=ALL ACCEPTEULA=yes ESRI_LICENSE_HOST=mylicenseserver SOFTWARE_CLASS=Editor SEAT_PREFERENCE=Float DESKTOP_CONFIG=TRUE /qn # install ArcGIS for Desktop
However nothing happens. When I call tasklist within the container I see a Setup-process running. Next I check if files are copied to the containers filesystem:
As you can see there's a folder called ArcGIS, so Setup is working. After a couple of minutes the process goes away, reoving the previously created folder leaving everything as before the setup. Has anyone an idea where I could get some information what goes on here? Or even tried to do that as well?

reg query "HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP" /ssays it's .NET 4.7 installedv4.0.30319. When I drill down into theSKUs-subkey, I get 4.5, 4.5.1, 4.5.2, 4.5.3, 4.6., 4.6.1, 4.6.2, 4.7, 4.7.1 and 4.7.2