This docker image runs a Tor service on an Alpine Linux base image.
10K+
The Tor Project is a nonprofit organization primarily responsible for maintaining software for the Tor anonymity network. The Tor browser is the most well known piece of software maintained. The Tor Browser uses the onion network to anonymize browsing and the onion network relies on tor relays to achieve this.
This docker image runs a Tor service on an Alpine linux base image. The Tor service that can be configure, as single or combination of a:
The docker image:
During container creation the container will log creation of the config file, the templated config file and once created will log any Tor notifications.
This image exposes port 9050/tcp and 9051/tcp.
Data can be persisted and config manual edited by mounting the /tor
Create a docker image with the following docker-compose.yml file
---
version: "3.9"
services:
tor:
container_name: tor
image: barneybuffet/tor:latest
environment:
TOR_PROXY: 'true'
TOR_PROXY_PORT: '9050'
TOR_PROXY_ACCEPT: 'accept 127.0.0.1,accept 10.0.0.0/8,accept 172.16.0.0/12,accept 192.168.0.0/16'
TOR_PROXY_CONTROL_PORT: '9051'
TOR_PROXY_CONTROL_PASSWORD: 'password'
TOR_PROXY_CONTROL_COOKIE: 'true'
volumes:
- ${PWD}:/tor/
ports:
- "9050:9050/tcp"
- "9051:9051/tcp"
restart: unless-stopped
Content type
Image
Digest
Size
47.7 MB
Last updated
almost 5 years ago
docker pull barneybuffet/tor