tor icon indicating copy to clipboard operation
tor copied to clipboard

Tor in a Docker container.

Tor for Docker

Build Version Size Pulls

Small docker container for Tor network proxy daemon.

Suitable for relay, exit node or hidden service modes with SOCKSv5 proxy enabled. It works well as a single self-contained container or in cooperation with other containers (like nginx) for organizing complex hidden services on the Tor network.

How to use

Via Docker Compose:

version: "3"
services:
  tor:
    container_name: tor
    image: dockurr/tor
    ports:
      - 9050:9050
      - 9051:9051
    restart: always
    volumes:
      - /path/to/config:/etc/tor
      - /path/to/data:/var/lib/tor
    stop_grace_period: 1m

Stars

Stars