toxcore-docker
This is a Dockerfile for building and running Docker container with a latest version of Tox (toxcore) DHT bootstrap daemon.
Image is based on latest Debian Docker image. Total size should be around ~210MiB, but it could be minimized even more.
- image runs only tox-bootstrapd daemon by default
- ports exposed: 33445/tcp, 33445/udp, 8080/tcp, 8080/udp
- LAN discovery is disabled
- bootstrap nodes loaded by default: bootstrapd-conf-ipv64.txt, change to more appropriate list of nodes depending on your available networking connectivity in ADD section
Launch image and check logs:
docker pull romang/toxcore-docker
docker run -d --name toxcore_bootstrapd romang/toxcore-docker
docker logs toxcore_bootstrapd
Launch image and drop to Bash shell:
docker run -t -i --name toxcore_bootstrapd /bin/bash
Alternatively you may change CMD section in Dockerfile. tox-bootstrapd could be started from within the shell with 'service tox-bootstrapd start'.
Note that you most probably would need to open firewall ports for the container to work properly.