Dockerfile for running Teamspeak server. Support for logging and persistent config volume if needed.
Running this will build a docker image with the latest version of docker-teamspeak, but not TeamSpeak itself.
git clone https://github.com/toredash/docker-teamspeak3
cd docker-teamspeak3
docker build -t toredash/docker-teamspeak3 .
After building the container, you can start it with:
docker run -d -p 9987:9987/udp toredash/docker-teamspeak3
Connection should be then available via you'r local IP.
Get the id of the container with docker ps
, and get the logs:
docker logs --tail=all <container-id> 2>/dev/null | grep token
Again, get the id of the container with docker ps
, and issue stop or start:
docker stop <container-id>
docker start <container-id>
You need to create a storage volume for config and one for logs, but you don't need both.
docker volume create --name logs
docker volume create --name data
Then you need to start the container with correct storage mapping.
docker run -d -p 9987:9987/udp -v logs:/ts3/logs -v data:/ts3/data toredash/docker-teamspeak3
You need to map port 30033/TCP to enable filetransfer:
docker run -d -p 9987:9987/udp -p 30033:30033 toredash/docker-teamspeak3
You need to map port 10011/TCP to enable serverquery:
docker run -d -p 9987:9987/udp -p 10011:10011 toredash/docker-teamspeak3
From then you can telnet (yes, -telnet) to you Teamspeak instance on port 10011.
You need to map port 41144/TCP to enable tsdns:
docker run -d -p 9987:9987/udp -p 41144:41144 toredash/docker-teamspeak3