With this repo you can easily run your own instance of the opentracker for bitorrent.
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.
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.conf
file - Open a terminal and
cd
into 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
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 clone
the github repository - Open the
whitelist.txt
file in your favorite editor - Copy & Paste your torrent
info_hashes
into the file - Uncomment line 37 in the
opentracker.conf
- Open a terminal and
cd
into 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
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.
Best wishes to the creators of opentracker! opentracker is beerware so feel free to donate those guys a drink ;-)