I have a docker built container which 1) runs in linux/ windows desktop which will run in azure when used as a web app in azure.
I built it again on a windows 2016 server running docker and it works locally on that machine.
When I try to run it as an Azure web app it stops and starts with no logs apart from:
06/02/2020 00:16:07.981 INFO - Site: fontapp-ltsc2016 - Pulling container image: customfontsample20200205051659.azurecr.io/customfontsample:latest
06/02/2020 00:16:07.981 INFO - Site: fontapp-ltsc2016 - Pulling from custom registry: https://customfontsample20200205051659.azurecr.io
06/02/2020 00:16:07.981 INFO - Site: fontapp-ltsc2016 - Pulling image using registry credentials
06/02/2020 00:16:08.039 INFO - Site: fontapp-ltsc2016 - Image: customfontsample20200205051659.azurecr.io/customfontsample:latest
Custom Registry: https://customfontsample20200205051659.azurecr.io
Status: latest Pulling from customfontsample
06/02/2020 00:16:08.042 INFO - Site: fontapp-ltsc2016 - Image: customfontsample20200205051659.azurecr.io/customfontsample:latest
Custom Registry: https://customfontsample20200205051659.azurecr.io
Status: Digest: sha256:2ae54737a5f055051f549852463aad006d396888fcda9afaf9279364a41712bd
06/02/2020 00:16:08.042 INFO - Site: fontapp-ltsc2016 - Image: customfontsample20200205051659.azurecr.io/customfontsample:latest
Custom Registry: https://customfontsample20200205051659.azurecr.io
Status: Status: Image is up to date for customfontsample20200205051659.azurecr.io/customfontsample:latest
06/02/2020 00:16:08.088 INFO - Site: fontapp-ltsc2016 - Creating container for image: customfontsample20200205051659.azurecr.io/customfontsample:latest.
06/02/2020 00:16:08.132 INFO - Site: fontapp-ltsc2016 - Create container for image: customfontsample20200205051659.azurecr.io/customfontsample:latest succeeded. Container Id 44b53a0d14fc7dc155fda02519461a18e46b06706576e80b5820111b4a388417
06/02/2020 00:16:09.089 INFO - Site: fontapp-ltsc2016 - Application Logging (Filesystem): On
06/02/2020 00:16:28.960 INFO - Site: fontapp-ltsc2016 - Application Logging (Filesystem): On
06/02/2020 00:16:47.637 INFO - Site: fontapp-ltsc2016 - Start container succeeded. Container: 44b53a0d14fc7dc155fda02519461a18e46b06706576e80b5820111b4a388417
06/02/2020 00:16:50.665 INFO - Site: fontapp-ltsc2016 - Attempting to stop container: 44b53a0d14fc7dc155fda02519461a18e46b06706576e80b5820111b4a388417
06/02/2020 00:16:51.393 INFO - Site: fontapp-ltsc2016 - Container stopped successfully. Container Id: 44b53a0d14fc7dc155fda02519461a18e46b06706576e80b5820111b4a388417
06/02/2020 00:16:51.393 INFO - Site: fontapp-ltsc2016 - Purging pending logs after stopping container
06/02/2020 00:16:51.420 ERROR - Site: fontapp-ltsc2016 - Unable to start container. Error message: Modify Compute System failed.
06/02/2020 00:16:51.420 INFO - Site: fontapp-ltsc2016 - Purging after container failed to start
06/02/2020 00:18:21.296 INFO - Site: fontapp-ltsc2016 - Cancelling pending tasks.
Can anyone help?
The base images I tried was:
FROM mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-ltsc2016