Sometimes 32-bit applications don't work in container instances

Ianez Mathias 60 Reputation points
2023-08-11T14:05:53.1966667+00:00

Hello, how are you? My name is Ianez Mathias.

Occasionally, when I deploy a new container instance with a Windows image, 32-bit applications don't work, but the 64-bit ones operate flawlessly.

When I stop and then immediately restart the same container instance, sometimes or just once, the same 32-bit applications from that image work. (64-bit always works).

It seems that the container might be landing somewhere in Azure that doesn't support 32-bit applications. (I might be mistaken).

Basically, inside my image, I have:

  • Windows 2019 - 64-bits
  • IIS - 32-bits
  • Site 1
  • Site 2
  • Site 3
  • WCF - 32-bits
  • HelloWorld.exe - 32-bits <== This and all other 32-bit applications work intermittently
  • HelloWorld.exe - 64-bits <== This always works.

"The HelloWorld.exe application, whether 32 or 64-bit, basically does:

Console.Writeline("ok!")

There are no error logs, it's just silent. :(

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
750 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Carlos Villagomez 1,106 Reputation points Microsoft Employee
    2023-08-23T22:35:27.23+00:00

    @Ianez Mathias
    Why is it that 32-bit applications don't work in container instances?
    After checking the details the best will be to open a ticket with Support.

    In order to reproduce the issue, we would need the original docker file and the images being used so that we can try to reproduce the issue locally so that we have access to your resources/applications to pull more detailed logs such as uploading some error logs in the 32-bits hello world application that would assist with troubleshooting when we reproduce the issue.

    Troubleshooting: When customer stops and immediately restarts the same container instance, sometimes the same 32-bit application from that image will work (64-bit always works).

    Inside the image, they have the following applications:

    • Windows 2019 - 64-bits
    • IIS - 32-bits
    • Site 1
    • Site 2
    • Site 3
    • WCF - 32-bits
    • HelloWorld.exe - 32-bits <== This and all other 32-bit applications work intermittently
    • HelloWorld.exe - 64-bits <== This always works.

    "The HelloWorld.exe application, whether 32 or 64-bit, basically does:

    Console.Writeline("ok!")

    There are no error logs either.

    To further troubleshoot this issue we're going to need to look at your resources in more detail. Please email the following to AzCommunity@microsoft.com and we'll get back to you promptly:

    • Subject: "Attn: kobulloc - Additional support required"
    • Email body: Your Subscription ID
    • Email body: A link to this thread so we can validate and expedite the request

    If you don't receive a response within 24 hours, please reply to the thread so we can investigate.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.