zydou/tor

By zydou

Updated 6 months ago

Dockerized tor client based on alpine

Image
0

100K+

zydou/tor repository overview

Dockerized tor client based on alpine

Container Registry

Docker CLI

docker run -d -restart=always \
    --name tor \
    -p 12345:9050 \
    # -v $(pwd)/torrc:/etc/tor/torrc:ro \  # Optional, mount your own torrc configuration
    zydou/tor:latest

Docker Compose

version: "3.9"
services:
  service.tor:
    image: zydou/tor:latest
    container_name: tor
    ports:
      - 12345:9050
    # volumes:
    #   - ./torrc:/etc/tor/torrc:ro  # Optional, mount your own torrc configuration
    restart: always

This will pull the zydou/tor image tagged with latest from Docker Hub if it is not already present on the local host. It then starts a container running a tor service and exposes the container's internal port 1080 to port 12345 of the host machine.

Check out all tags if you need another version.

Source code

GitHub (Also contains other tools to bypass the GFW)

LICENSE

MIT

Tag summary

Content type

Image

Digest

sha256:c8411f921

Size

12.7 MB

Last updated

6 months ago

docker pull zydou/tor:2026-01-24