dockage/tor-privoxy
Docker Tor proxy (http and shell) built on Alpine Linux
5M+
This image combines Tor and Privoxy services to prepare proxy connection for http and shell.
If you find this image useful here's how you can help:
Before reporting your issue please try updating Docker to the latest version and check if it resolves the issue. Refer to the Docker installation guide for instructions.
SELinux users should try disabling SELinux using the command setenforce 0
to see if it resolves the issue.
If the above recommendations do not help then report your issue along with the following information:
docker vers6
and docker info
commandsdocker run
command or docker-compose.yml
used to start the image. Mask out the sensitive bits.Automated builds of the image are available on Dockerhub and is the recommended method of installation.
docker pull dockage/tor-privoxy
Alternatively you can build the image yourself.
docker build -t dockage/tor-privoxy https://github.com/dockage/tor-privoxy.git#main
The quickest way to get started is using docker-compose.
wget https://raw.githubusercontent.com/dockage/tor-privoxy/master/docker-compose.yml
docker-compose up
Alternately, you can manually launch the tor-privoxy
container.
docker run --name='tor-privoxy' -d \
-p 9050:9050 \
-p 9051:9051 \
-p 8118:8118 \
dockage/tor-privoxy:latest
The exposed ports are:
9050
: Tor proxy (SOCKS5)9051
: Tor control port8118
: Privoxy (HTTP Proxy)You can extend torrc
configuration by placing configuration file in /etc/torrc.d
.
You must use .conf
extension to be include in torrc configuration.
To upgrade to newer releases:
docker pull dockage/tor-privoxy
docker stop tor-privoxy
docker rm -v tor-privoxy
docker run --name tor-privoxy -d \
[OPTIONS] \
dockage/tor-privoxy:latest
For debugging and maintenance purposes you may want access the containers shell. If you are using Docker version 1.3.0
or higher you can access a running containers shell by starting bash
using docker exec
:
docker exec -it tor-privoxy sh
docker pull dockage/tor-privoxy