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

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
Any suggestions how to sort this out? TIA
Hi @Grmacjon-MSFT this issue occurred 2 weeks ago, and again last night when I made some more changes.
It is rather frustrating
Can you try to show some of the errors in "The errors I receive are with respect to some of the functions called from the app"? Exceptions? Since you own the web app, you can also add application level logging to collect more information about those errors and then compare what data are collected on localhost and on Azure. Compare them and the cause should be clear.