Coder Social home page Coder Social logo

qix- / docker-tor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lncm/docker-tor

0.0 1.0 0.0 183 KB

Tor built and verified by github and packed in a container

Home Page: https://hub.docker.com/r/lncm/tor

License: The Unlicense

Dockerfile 68.01% Shell 31.99%

docker-tor's Introduction

Tor as a Docker container

Build on push Build on tag deploy Version Docker Pulls Count

Tor service as a docker container, supporting multiple platforms/architectures (armv6, armv7, arm64, amd64) the LNCM way (inclusive)

Usage instructions

Tags

NOTE: For an always up-to-date list see: https://hub.docker.com/r/lncm/tor/tags

Maintainer release notes

The github action takes in the current tag from upstream and then fetches, verifies and compiles this.

To grab a new version simply just tag a new version

Example:

git tag -s 0.4.6.7

Would Release 0.4.6.7 of tor.

As a maintainer, you should also update the documentation too.

Environment Variables

Note In order to trigger builds This repository uses the following environment variables:

  • DOCKER_HUB_USER - the username for docker hub
  • DOCKER_USERNAME - The username for dockerhub.
  • DOCKER_PASSWORD - The password for dockerhub
  • DOCKER_TOKEN - the token for docker hub which can push to this projecta (not used currently)
  • GITHUB_TOKEN - The token of the current user (this is added automatically)
  • GITHUB_ACTOR - The user to login to docker.pkg.github.com
  • GITHUB_REPOSITORY - The repository pathname (used for the push to githubs package registry)
  • MAINTAINER_USER - This is for utilizing the github container registry
  • MAINTAINER_TOKEN - This is for utilizing the github container registry

Running

this assumes 0.4.6.7 version. But you can substitute this for others

Command Line

To run this from the command line you would need to create an example config file or use the cut down config file in this repo.

Then you would need to run:

docker run --rm -d \
            --network host \
            --name tor \
            -v $PWD/data:/etc/tor \
            -v $PWD/data:/var/lib/tor \
            -v $PWD/run:/var/run/tor \
            lncm/tor:0.4.6.7

This assumes you have a directory called data and a directory called run in the current $PWD. And the config file torrc should live in data.

Docker-compose

For your convenience, we have a docker-compose file available for you to use too.

By default this uses host networking and requires data and run folders to be created and with a valid torrc file

Generating Tor Passwords

docker run --rm \
            --name tor \
            lncm/tor:0.4.6.7 \
            --hash-password passwordtogenerate

docker-tor's People

Contributors

aarondewes avatar nolim1t avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.