Burp community forum

How to configure Burp Suite for traffic to/from Docker container?

Nick | Last updated: Aug 17, 2019 08:43PM UTC

As titled really. I have it setup correctly to monitor all browser traffic, however when I'm hitting a local container web app at localhost, it isn't intercepting. Can you offer any guidance?

Liam, PortSwigger Agent | Last updated: Aug 19, 2019 11:00AM UTC

Just to clarify, where is Burp Suite in your set up? Is it installed on the Docker image?

Mike, PortSwigger Agent | Last updated: Sep 02, 2019 02:59PM UTC

Philip, can you clarify if you need assistance setting up your docker container or if you are providing a solution to Nicks question?

Burp User | Last updated: Nov 18, 2019 11:57PM UTC

I'm discovering that the behavior of Docker client and dockerd using proxy is quite variable. I have not been able to sort out which configurations work for which use case, but if I want to run a container's network over the proxy, you have to set that up in ~/.docker/config.json "proxies": { "default": { "httpProxy": "http://127.0.0.1:8080", "httpsProxy": "http://127.0.0.1:8081", "noProxy": "*.test.example.com, .example2.com" } Docker Login, which makes a call to the remote registry server appears to not obey that directive. It appears to me that proxy has to be introduced when starting dockerd, but I can't figure out how. Since you need this for the container, the above config should work.

You need to Log in to post a reply. Or register here, for free.