/Docker_TorBase

Primary LanguageShellMIT LicenseMIT

Docker Base Image for Using Tor

This image serves as base image for other images that would like to prohibit all traffic except for TOR. Thereto, this image blocks all traffic via filter rules. The DNS server is bound to the TOR DNS resolver, so name resolution works. The environment variables http_proxy and https_proxy are set, so all applications evaluating these variables use TOR automatically. To make other applications use TOR, you have to configure the http proxies (localhost:8118) or the socks proxy (localhost:9050) manually in the application or use tools like torsocks, which is shipped with this image.

In order to run this (and derived) images, you have to ensure that

  • the container is started with capabilities NET_ADMIN and NET_RAW

The image is available as quay.io/seiferma/tor-base. View all available tags on quay.io.