Docker Community Forums

Share and learn in the Docker community.

Docker container - issue with .Net applications running on 32-Bit libraries

Hi Team,

We are using Docker desktop with Windows Container

My application supports few 32 bit libraries(dll’s), When I run application through IIS by enabling 32-Bit applications as True from App Pool settings it works fine

But in Docker I didn’t find any option to create a build with enabling 32-Bit application app pool settings or run application with enabling 32-Bit applications support to true in Docker container

My Docker file contains these commands

FROM mcr.microsoft.com/dotnet/framework/sdk:4.8 AS build

WORKDIR /app
COPY aspnetapp/. ./aspnetapp/

WORKDIR /app/aspnetapp
FROM mcr.microsoft.com/dotnet/framework/aspnet:4.8 AS runtime

WORKDIR /inetpub/wwwroot
COPY --from=build /app/aspnetapp/. ./

I didn’t find any options to support docker container for enabling the 32-Bit applications support

Screenshot attached

1 Like

same is the error for me