Mitmproxy has a tutorial, how to configure transparently proxify VM, but how can I do it in docker? I have found this repository that uses squid with docker containers.
I want to intercept outgoing https trafic from dockers php application. From the link I referenced I understand the I need to create some ip routing rules, but why there does not have any documentation? I have found this mitmproxy container, but how can I listen traffic from other containers with it?
The importance of my question. It has been said in squid proxy link that I referenced: "Transparent caching docker composers can speed up the dependency-fetching part of application build process"
**I would like to use it to integration test my docker container application! Please, can anyone give some guide how can I do it **