HUB
Sign inSign up

cnrock/tinyproxy

By cnrock

•Updated 11 days ago

Tinyproxy 1.11.3 on Alpine (amd64/arm64) — lightweight HTTP/HTTPS proxy, ACL via container args

Image
0

2.5K

cnrock/tinyproxy repository overview

⁠Tinyproxy 1.11.3 — lightweight HTTP/HTTPS proxy (multi-arch)

A minimal Docker image for Tinyproxy⁠, the small, fast, GPL'd HTTP/HTTPS proxy daemon. It packages Tinyproxy 1.11.3 — the current upstream version — from Alpine edge's tinyproxy package (1.11.3-r0) on an Alpine edge base.

Platforms: linux/amd64 and linux/arm64 (multi-arch manifest).

⁠Quick start

# Allow specific IPs / networks (recommended)
docker run -d --name tinyproxy -p 8888:8888 cnrock/tinyproxy:latest 192.168.1.0/24 203.0.113.10

# Allow anyone (open proxy — see the security note below)
docker run -d --name tinyproxy -p 8888:8888 cnrock/tinyproxy:latest ANY

# Custom configuration instead of arguments
docker run -d --name tinyproxy -p 8888:8888 \
  -v /path/to/tinyproxy.conf:/etc/tinyproxy/tinyproxy.conf cnrock/tinyproxy:latest

Then point your client at http://<host>:8888.

⁠How it works

  • The container's entrypoint (/opt/docker-tinyproxy/run.sh) takes the access-control list (ACL) from the container arguments: one or more IP addresses or CIDR ranges, or ANY to comment out all Allow restrictions. With no arguments, the Allow rules of the config file are used as-is.
  • Default config (/etc/tinyproxy/tinyproxy.conf): port 8888, MaxClients 100, Timeout 600, and by default only Allow 127.0.0.1 / Allow ::1 — so pass an ACL argument or mount your own config, otherwise only the container itself can use the proxy.
  • At startup the entrypoint also sets StartServers, MinSpareServers and MaxSpareServers to 1 and raises LogLevel to Connect for useful per-connection logs.

⁠Security note

ANY turns the container into an open proxy reachable by anyone who can reach the port. Prefer explicit IP/CIDR ACLs, and don't expose the port to the internet without additional firewalling.

⁠Provenance

  • Tinyproxy: https://github.com/tinyproxy/tinyproxy⁠ (GPL), version 1.11.3, as packaged by Alpine Linux edge (tinyproxy-1.11.3-r0).
  • The entrypoint script is based on Daniel Middleton's docker-tinyproxy run.sh, modified for Tinyproxy 1.11.3.
  • Base image: alpine:edge. Installed size is about 10 MB.

Provided as-is, without warranty.

Tag summary

Content type

Image

Digest

sha256:26689bced…

Size

4.5 MB

Last updated

11 days ago

docker pull cnrock/tinyproxy