Comment on page


1. Capture traffic from your Docker Container

By default, Proxyman can capture all traffic that you access from your Docker Container if you access it from your Mac Devices.
To elaborate, here is the sample Docker Container:
  1. 1.
    Set up a simple HTTP Server by NodeJS + Express. Then Dockerizing it. You can find it at
  2. 2.
    Makes sure we expose your server via port 8080.
  3. 3.
    You can verify it by opening http://localhost:8080 on Safari.

2. Capture traffic inside Docker Containers

3. Alternative Solution:

  1. 1.
    Add docker-compose.proxyman.yml. Replace <php8.1-fpm-xdebug> with your service
version: '2'
HTTP_PROXY: host.docker.internal:9090
HTTPS_PROXY: host.docker.internal:9090
http_proxy: host.docker.internal:9090
https_proxy: host.docker.internal:9090
  1. 2.
    Start the Docker:
docker-compose -f docker-compose.yml -f docker-compose.proxyman.yml up -d