Reputation:
I have a simple 32 bit commandline application (CPP application), which is started using C# in ASP.NET Core.
System.Diagnostics.Process.Start("Application");
It is working fine in 32-bit/64-bit application when testing on serveral windows OS (32-bit/64-bit).
When running the application in docker container, it does not launch the 32-bit application.
If I use the simple 64-bit applcation, then it is launching properly. But I could not build my CPP application to 64-bit, as its dependencies are 32-bit.
Docker container : windows/amd64
Can anyone please help me to overcome this? I'm new to docker.
Upvotes: 1
Views: 761
Reputation: 361
There is no supported way of running 32-bit applications in containers. You might find some obscure ways to create 32-bit containers though. But it involves a lot of work and such a container would only support 32-bit applications.
Cheers!
Upvotes: 1