opentracker-docker
opentracker-docker copied to clipboard
Easy, customizable & small docker image for the opentracker project.
opentracker-docker
With this repo you can easily run your own instance of the opentracker for bitorrent.
How to run an open opentracker
If you want to run a complete open tracker, just pull the docker image and start up a container:
docker run -d --name opentracker -p 6969:6969/udp -p 6969:6969 lednerb/opentracker-docker
This will bind the port 6969 to the docker container (UDP and TCP) and you're good to go.
How to run a customized opentracker instance
If you want to config your opentracker instance, just download or git clone the github repository and edit the opentracker.conf file.
Now you have to build your own image as follows:
- Edit and save the
opentracker.conffile - Open a terminal and
cdinto the project folder - Run
docker build -t yourfancyname/opentracker .
After building the docker image successfully you can start up a container:
docker run -d --name opentracker -p 6969:6969/udp -p 6969:6969 yourfancyname/opentracker
How to whitelist your opentracker torrents
If you solely want to run the opentracker instance for specific torrents you have to whitelist them.
Follow these steps to whitelist your .torrent files:
- Download or
git clonethe github repository - Open the
whitelist.txtfile in your favorite editor - Copy & Paste your torrent
info_hashesinto the file - Uncomment line 37 in the
opentracker.conf - Open a terminal and
cdinto the project folder - Run
docker build -t yourfancyname/opentracker .
Example whitelist.txt:
0123456789abcdef0123456789abcdef01234567
890123456789abcdef0123456789abcdef012345
After the docker image was successfully built you can start a new container:
docker run -d --name opentracker -p 6969:6969/udp -p 6969:6969 yourfancyname/opentracker
How to blacklist some torrents
Just follow the steps from obove but paste the info_hashes into the blacklist.txt file and uncomment line 41 in the opentracker.conf file.
Thanks & Donations
Best wishes to the creators of opentracker! opentracker is beerware so feel free to donate those guys a drink ;-)