Docker Community Forums

Share and learn in the Docker community.

Docker displaying a windows app on windows server core container

Hi everyone, I would like to display a basic windows application (an exe file) using Docker in windows server core container. Manage to display it on my host machine when I run it from the command prompt. However, when I tried it using windows server core container, the application didn’t appear. Am Ienter image description here missing any dll? Thank you very much for your help.

[FROM mcr.microsoft.com/windows/servercore

 WORKDIR /myapp

 COPY MyWinApp.exe /myapp

 RUN powershell.exe -Command -Start-process MyWinApp.exe -ArgumentList 
  '/quiet' -Wait

 ENTRYPOINT [ "CMD" ]