Home

Awesome

Docker Pulls Docker Automation

Redsocks transparent proxy for docker

Redirects whole docker network traffic through a http, optionally trough a https proxy.

Docker compose sample excerpt

version: '2'

services:

  redsocks:
    image: flavioaiello/redsocks
    privileged: true
    network_mode: "host"
    environment:
      - HTTP_RELAY=123.123.123.123
      - HTTP_RELAY_PORT=8080
      - TCP_RELAY=123.123.123.123
      - TCP_RELAY_PORT=8080
    restart: always

    yours:
        depends_on:
            - redsocks