Closed v-ruizh closed 11 months ago
Windows containers are a supported configuration for App Service so this might be worth a look.
I am able to reproduce.
It looks like we've never supported deploying Windows containers to App Service. I see a couple places in the deployment code that hardcode Linux: https://github.com/microsoft/vscode-docker/blob/e882270bd9a1ec7515d039bf4dc31239b7ec34ae/src/commands/registries/azure/deployImageToAzure.ts#L42 https://github.com/microsoft/vscode-docker/blob/e882270bd9a1ec7515d039bf4dc31239b7ec34ae/src/commands/registries/azure/DockerSiteCreateStep.ts#L116-L121
Pushing a Windows image to ACR is supported and does work, but deployment to App Service through the extension fails. You have to use portal to deploy the Windows image.
OS: Win 10 Build Version: 20231019.1 Regression: Not a Regression
Repro Steps:
Expect: Succeed to open the web page.
Actual: Fail to open the web page with "Application Error".
More Info: This issue does not reproduce on "Linux Container".