Skip to content

mbotezatu/tinyproxy-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tinyproxy-docker

Minimal Docker image for Tinyproxy HTTP/HTTPS proxy.

Image size: ~385KB (statically compiled, scratch-based)

Quick Start

docker run -d -p 8888:8888 mbotezatu/tinyproxy:latest

Test it:

curl -x http://localhost:8888 http://example.com

Build

docker build -t tinyproxy .

Build a different version:

docker build -t tinyproxy --build-arg GIT_BRANCH=1.11.1 .

Configuration

Mount a custom config:

docker run -d -p 8888:8888 -v /path/to/tinyproxy.conf:/etc/tinyproxy/tinyproxy.conf tinyproxy

Default config allows all connections. For production, restrict with Allow directives.

Features

  • HTTP/HTTPS proxy (CONNECT method)
  • URL/domain filtering
  • Upstream proxy support (HTTP, SOCKS4, SOCKS5)
  • Transparent proxy mode
  • Reverse proxy mode

About

Minimal Docker image for Tinyproxy

Resources

License

Stars

Watchers

Forks

Packages