Problems with proxy sending alerts configured in Destinations

I can configure Destinations for both email and webhook in microsoft teams.
It turns out that my opensearch runs in docker, inside a Centos VDI, and when testing both outputs the result of the timeout, that is, it cannot find the proxy that I configured in the centos environment variables.
Many must work with the output by proxy, please help me.
Note, my proxy does not need authentication.