aspnet / aspnet-docker

[Archived] ASP.NET Core Docker images for 1.x. Go to https://github.com/dotnet/dotnet-docker for 2.1 and up.
https://asp.net
719 stars 171 forks source link

X86 C++ application not running inside microsoft/aspnetcore:2.0-nanoserver #394

Closed viswa18 closed 6 years ago

viswa18 commented 6 years ago

I am using microsoft/aspnetcore:2.0-nanoserver-1709 to run a asp.net core webapplication in docker. This application start a C++ application using process.Start API. The C++ application is x86 based, simple hello world application. When I run the application in my host machine it works fine, but it does not return any output or error when running in the above container. I have copied all dependencies for the C++ application.

Can you please let me know can we run x86 applications in above image. If we can, please let me know what I am missing. If we cannot please let me know the reason.

natemcmaster commented 6 years ago

Does your C++ app run on its own in microsoft/nanoserver:1709? Nano Server removes a bunch of windows APIs, so you may need to adjust your C++ program or make a different image based on windowsservercore.

natemcmaster commented 6 years ago

Closing as we need more information to help you on this issue. Not trying to be mean...we just don't have enough info about your issue. We're happy to reopen if you can provide more info that helps us identify the problem. In the meantime, feel free to continue discussion.

Thanks, -Nate