I am looking for a way to intercept all the HTTP requests between docker containers, for debugging purposes.
I am using MitmProxy and I can intercept the requests done from the containers to the internet (configured the HTTP_PROXY
and HTTPS_PROXY
environment variables), but not the ones done internally to other containers in the network (Using their DNS name).
Is there any way I can achieve that with MitmProxy or any other tool?
My idea is that if I have a Microservices application running locally, having a way to see all the requests between applications without needing to modify application code, would be a great way to debug communication issues between the services.