using these commands:
docker build -t test-image .
docker run test-image
docker exec -it powershell
inside using powershell you execute
Get-IISAppPool
it shows started, as soon you execute curl, it crashes, stops.
It used to work just fine , same version of the image, now is not working, Its needed to have this version working, otherwise all applications would have to be recompiled with newer version, which seems to work at this point.
If we deploy this docker file: ARG BASE_IMAGE=mcr.microsoft.com/windows/servercore/iis:20190515-windowsservercore-ltsc2019
ARG BASE_IMAGE=mcr.microsoft.com/windows/servercore/iis:20200512-windowsservercore-ltsc2019
FROM ${BASE_IMAGE}
SHELL ["powershell"]
RUN Import-Module WebAdministration ; \ Set-ItemProperty -Path 'IIS:\AppPools\DefaultAppPool' -Name enable32BitAppOnWin64 -Value $true ; \ Set-ItemProperty -Path 'IIS:\AppPools\DefaultAppPool' -Name recycling.periodicrestart.privateMemory -Value 3200000
EXPOSE 80 8172
using these commands: docker build -t test-image . docker run test-image docker exec -it powershell
inside using powershell you execute Get-IISAppPool
it shows started, as soon you execute curl, it crashes, stops.
It used to work just fine , same version of the image, now is not working, Its needed to have this version working, otherwise all applications would have to be recompiled with newer version, which seems to work at this point.
ARG BASE_IMAGE=mcr.microsoft.com/windows/servercore/iis:20200512-windowsservercore-ltsc2019