This repository has multi architecture support and is regularly updated.
Container is built for amd64, arm and arm64.
Kudos to rdsubhas.
I used the tini and run based startup-scripts for services from his container.
The docker container has a working health-check built in.
To determine the correct function, it verifies access to the *.onion address from DuckDuckGo.
torrc-configuration:
SOCKSPort 0.0.0.0:9050
ExitPolicy reject *:*
BridgeRelay 0
I know the TOR-Project is in need for bridge relays, but considering, not every user from the container is familiar with the impacts, I decided to disable the bridge relay in the container by default.
privoxy-configuration:
listen-address 0.0.0.0:8118
forward-socks5t / localhost:9050 .
On port [8118], the container offers a privoxy HTTP-Proxy forwarded to localhost:9050 SOCKS5
On port [9050], the container offers the TOR SOCKS5 proxy
docker run -d \
-p 8118:8118 \
-p 9050:9050 \
--name torprivoxy \
--restart=unless-stopped avpnusr/torprivoxy