# Intercept docker container https trafic

**URL:** https://discourse.mitmproxy.org/t/intercept-docker-container-https-trafic/474
**Category:** help
**Created:** [May 9, 2017, 8:55pm UTC](https://discourse.mitmproxy.org/t/intercept-docker-container-https-trafic/474 "2017-05-09T20:55:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Karu](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/karu/32/234_2.png) [@Karu](https://discourse.mitmproxy.org/u/Karu)
#### Post date: [May 9, 2017, 8:55pm UTC](https://discourse.mitmproxy.org/t/intercept-docker-container-https-trafic/474/1 "2017-05-09T20:55:45Z")

</div>

Mitmproxy has a tutorial, how to configure transparently proxify VM, but how can I do it in docker? I have found [this](https://github.com/silarsis/docker-proxy) 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](https://github.com/mitmproxy/docker-releases) 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 🙂 \*\*
