简体   繁体   中英

32-bit process not started in windows docker container

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.

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM