Finding a missing Dll on Windows Server Core in Docker
I am attempting to build a console application in a Windows Docker container using Windows Server Core, as per these instructions from Microsoft.
The problem I am having is that, when run on the container, the application exits without an error message. I suspect that this is due to a missing system Dll on Windows Server Core, but unlike on Windows Desktop there is no application popup to identify the missing dll. Nor is there anything in the System log.
What else can I do to trouble shoot the issue?
Solution 1:
Worked for me (see more detailed explanation here https://stefanscherer.github.io/find-dependencies-in-windows-containers/):
- Azure VM Windows server Core
- Install Procmon and filter your process via iwr download.
- Put your zip in to Azure BLOB and downlaod via SAS url and tar expand if archieve
- Start your process.
- Search fail/error entries.
- Prey your missing DLL is not UI dll. Because VM Windows Core has UI, while docker version seems like not.