{"id":43641367,"url":"https://github.com/dockur/tor","last_synced_at":"2026-05-18T05:15:47.987Z","repository":{"id":198341564,"uuid":"700615723","full_name":"dockur/tor","owner":"dockur","description":"Tor in a Docker container.","archived":false,"fork":false,"pushed_at":"2026-03-26T01:15:51.000Z","size":324,"stargazers_count":184,"open_issues_count":6,"forks_count":23,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-03-26T23:22:24.431Z","etag":null,"topics":["container","docker","onion-routing","tor"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"osminogin/docker-tor-simple","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dockur.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-10-05T00:11:57.000Z","updated_at":"2026-03-26T17:15:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dockur/tor","commit_stats":null,"previous_names":["dockur/tor"],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/dockur/tor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dockur%2Ftor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dockur%2Ftor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dockur%2Ftor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dockur%2Ftor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dockur","download_url":"https://codeload.github.com/dockur/tor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dockur%2Ftor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31307208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["container","docker","onion-routing","tor"],"created_at":"2026-02-04T18:04:52.512Z","updated_at":"2026-05-18T05:15:47.982Z","avatar_url":"https://github.com/dockur.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eTor for Docker\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://github.com/dockur/tor\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/dockur/tor/master/.github/logo.png\" title=\"Logo\" style=\"max-width:100%;\" width=\"256\" /\u003e\u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n  \n[![Build]][build_url]\n[![Version]][tag_url]\n[![Size]][tag_url]\n[![Package]][pkg_url]\n[![Pulls]][hub_url]\n\n\u003c/div\u003e\u003c/h1\u003e\n\nDocker container of the [Tor](https://www.torproject.org/) network proxy daemon.\n\n## Features ✨\n\n  - Suitable for relay, exit node or hidden service modes with SOCKSv5 proxy enabled.\n  - 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.\n  - Includes an extensive healthcheck, plus monitoring via [Nyx](https://nyx.torproject.org/) and the Lyrebird obfs4proxy.\n\n## Usage  🐳\n\n##### Via Docker Compose:\n\n```yaml\nservices:\n  tor:\n    image: dockurr/tor\n    container_name: tor\n    ports:\n      - 9050:9050\n      - 9051:9051\n    volumes:\n      - ./config:/etc/tor\n      - ./data:/var/lib/tor\n    restart: always\n```\n\n##### Via Docker CLI:\n\n```shell\ndocker run -it --rm --name tor -p 9050:9050 -p 9051:9051 -v \"${PWD:-.}/config:/etc/tor\" -v \"${PWD:-.}/data:/var/lib/tor\" docker.io/dockurr/tor\n```\n\n## Configuration 🔧\n\n**Environment Variables:**\n\n- `PASSWORD` - Password for the Tor control port (default: \"password\")\n  - Change this for production deployments\n  - Example: `PASSWORD=example123`\n\n- `CHECK` - Enable health check (default: \"false\")\n  - Set to \"true\" to enable health checks\n  - Uses external servers from the Tor Project (like [https://check.torproject.org/](https://check.torproject.org/) and [Onionoo](https://onionoo.torproject.org)) to monitor the node status.\n \n- `DEBUG` - Enable debug output (default: \"false\")\n  - Set to \"true\" for troubleshooting\n  - Shows raw Tor Control Protocol responses\n\n**Custom Configuration:**\n\nThe container supports custom Tor configuration via a mounted `torrc` file at `/etc/tor/torrc`, so you can provide your own  relay, exit node, and hidden service settings.\n\n**Example custom torrc file:**\n\n```\n# Your relay configuration\nNickname MyTorRelay\nContactInfo your@email.com\nORPort 9050\nDirPort 9030\nExitRelay 0\nExitPolicy reject *:*\n```\n\n## Stars 🌟\n[![Stars](https://starchart.cc/dockur/tor.svg?variant=adaptive)](https://starchart.cc/dockur/tor)\n\n[build_url]: https://github.com/dockur/tor/\n[hub_url]: https://hub.docker.com/r/dockurr/tor/\n[tag_url]: https://hub.docker.com/r/dockurr/tor/tags\n[pkg_url]: https://github.com/dockur/tor/pkgs/container/tor\n\n[Build]: https://github.com/dockur/tor/actions/workflows/build.yml/badge.svg\n[Size]: https://img.shields.io/docker/image-size/dockurr/tor/latest?color=066da5\u0026label=size\n[Pulls]: https://img.shields.io/docker/pulls/dockurr/tor.svg?style=flat\u0026label=pulls\u0026logo=docker\n[Version]: https://img.shields.io/docker/v/dockurr/tor/latest?arch=amd64\u0026sort=semver\u0026color=066da5\n[Package]: https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fipitio.github.io%2Fbackage%2Fdockur%2Ftor%2Ftor.json\u0026query=%24.downloads\u0026logo=github\u0026style=flat\u0026color=066da5\u0026label=pulls\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdockur%2Ftor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdockur%2Ftor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdockur%2Ftor/lists"}