With this repo you can easily run your own instance of the opentracker for bitorrent.
If you want to run a complety open tracker, just pull the docker image and spin 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.
Than 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 the docker image was successfully built you can start a container:
docker run -d --name opentracker -p 6969:6969/udp -p 6969:6969 lednerb/opentracker-docker
If you just 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 - Create a file in the project directory named
whitelist.txt
- 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 container:
docker run -d --name opentracker -p 6969:6969/udp -p 6969:6969 lednerb/opentracker-docker
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.