Host Your Own TeamSpeak Server in Docker - Tomi Mavrin

Host Your Own TeamSpeak Server in Docker

Some of us still use TeamSpeak to this day. The reason why still I use it is beyond me. I run a TeamSpeak user for my small community of friends on my VPS with docker. I have no need for advanced configuration but I appreciate the simple cleanup and restart I get to have with docker without it messing on my other services on my VPS.

I’m using an official teamspeak docker image here which you can read up on here: Teamspeak - Official Image | Docker Hub

Run the Docker image

Simply just run:

docker run -d --name ts3 \
-p 9987:9987/udp -p 10011:10011 -p 30033:30033 \
-e TS3SERVER_LICENSE=accept teamspeak

Your server should be up and running in short time.

Before connecting to your server you need to get your admin token:

docker logs ts3

The message should looks something like this:

------------------------------------------------------------------
                      I M P O R T A N T
------------------------------------------------------------------
      ServerAdmin privilege key created, please use it to gain
      serveradmin rights for your virtualserver. please
      also check the doc/privilegekey_guide.txt for details.

       token=P9AmcZx5WQBYfGfigkr6F9Uk30wtz4TJZiFpZdVm
------------------------------------------------------------------

And there is your admin token.

Now connect to your server and upon connecting it will ask you for the token.

Paste your token from the previous step in the alert box.

That's it. You now have your own TeamSpeak server.