Redirects whole docker network traffic through a http, optionally trough a https proxy.
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