Sign inSign up

justinhimself/tor-privoxy

By justinhimself

Updated 5 months ago

tor-privoxy multiarch docker image

Image
2

10K+

justinhimself/tor-privoxy repository overview

Tor Privoxy

This image is a fork of dockage/tor-privoxy, with multiarch support and latest alpine

This image combines Tor and Privoxy services to prepare proxy connection for http and shell.

Getting started

Installation

Automated builds of the image are available on Dockerhub and is the recommended method of installation.

docker pull justinhimself/tor-privoxy

Alternatively you can build the image yourself.

docker build -t justinhimself/tor-privoxy https://github.com/justinhimself/docker-autobuild.git#master:tor-privoxy

Quick Start

Keep everything default

docker run --name='tor-privoxy' -d \
  -p 9050:9050 \
  -p 9051:9051 \
  -p 8118:8118 \
justinhimself/tor-privoxy:latest

The exposed ports are:

  • 9050: Tor proxy (SOCKS5)
  • 9051: Tor control port
  • 8118: Privoxy (HTTP Proxy)

Use custom configuration

You can make tor config and data dir persistent and add you own config.

docker run --name='tor-privoxy' -d \
  -p 9050:9050 \
  -p 9051:9051 \
  -p 8118:8118 \
  -v tor_config:/etc/tor \
  -v tor_data:/var/lib/tor \
justinhimself/tor-privoxy:latest

If container finds your tor_config dir is empty, it will automatically create default torrc.

Maintenance

Upgrading

To upgrade to newer releases:

  • Step 1: Download the updated Docker image:
docker pull justinhimself/tor-privoxy
  • Step 2: Stop the currently running image:
docker stop tor-privoxy
  • Step 3: Remove the stopped container
docker rm -v tor-privoxy
  • Step 4: Start the updated image
docker run --name tor-privoxy -d \
[OPTIONS] \
justinhimself/tor-privoxy:latest

Shell Access

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

Tag summary

Content type

Image

Digest

sha256:04c30e3a8

Size

11.7 MB

Last updated

5 months ago

docker pull justinhimself/tor-privoxy