Why would docker container running on local host work but in azure web app we get error?

Huhn, Alexander 85 Reputation points
2023-02-27T14:57:20.2433333+00:00

I have an azure web app running a docker container. I set up and test the docker container, and it works perfectly. when I copy everything to Azure web app and set up the pipelines, when I interact with the app, I receive errors I did not encounter when running locally.

The errors I receive are with respect to some of the functions called from the app.

My question is why it works when running locally, but not when running it in the webapp. I was under the impression that a docker container was completely encapsulated, and would not interact with anything on the local machine, yet when running on the web app, a command or something interacts and raises an error.

I cannot interact with the SHH into the container to explore further, and the log stream does not give relevant information.

I cannot save a diagnostic setting to examine further, as it is blanked out

User's image

Any suggestions how to sort this out? TIA

Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,560 questions
{count} votes