Public | Automated Build

Last pushed: a year ago
Short Description
Docker container for TeamSpeak. TeamSpeak allows computer users to speak with fellow computer users.
Full Description

TeamSpeak Docker Container

Docker container for TeamSpeak versions 3 and above.

TeamSpeak DNS (tdns) is currently not supported.

Supported tags and respective Dockerfile links

  • latest

What is TeamSpeak?

TeamSpeak is proprietary voice-over-Internet Protocol (VoIP) software that
allows computer users to speak on a chat channel with fellow computer users,
much like a telephone conference call. A TeamSpeak user will often wear a
headset with a microphone. Users use the TeamSpeak client software to connect to
a TeamSpeak server of their choice, from there they can join chat channels.

The target audience for TeamSpeak is gamers, who can use the software to
communicate with other players on the same team of a multiplayer game.
Communicating by voice gives a competitive advantage by allowing players to keep
their hands on the controls.

wikipedia.org/wiki/TeamSpeak

The official TeamSpeak website can be found here:
https://teamspeak.com/

The official TeamSpeak Client can be downloaded here:
https://teamspeak.com/downloads#client

How to use this image

The fast lane

This will install and run my TeamSpeak Docker container with all known TeamSpeak
ports published and mounted configuration files, logs and the files folder.
By default TeamSpeak is now using the SQLite driver which holds the entire
database in one file (ts3server.sqlitedb).

docker run --detach \
    --publish=9987:9987/udp \
    --publish=30033:30033/tcp \
    --publish=10011:10011/tcp \
    --volume=/some/config:/app/config \
    --volume=/some/data:/app/data \
    --volume=/some/logs:/app/logs \
    --volume=/some/files.txt:/app/files

Use MySQL backend

Assuming you already have an MySQL container up and running and its name is
mysql you use this docker run:

docker run --detach \
    --publish=9987:9987/udp \
    --publish=30033:30033/tcp \
    --publish=10011:10011/tcp \
    --volume=/some/config:/app/config \
    --volume=/some/data:/app/data \
    --volume=/some/logs:/app/logs \
    --volume=/some/files.txt:/app/files \
    --link=mysql:mysql

Alter your config/ts3server.ini to match:

dbplugin=ts3db_mysql
dbpluginparameter=ts3db_mysql.ini
dbsqlcreatepath=create_mysql/

Alter your config/ts3db_mysql.ini:

[config]
host=mysql
port=3306
username=DOCKER_TEAMSPEAK_DATABASE_USER
password=DOCKER_TEAMSPEAK_DATABASE_PASSWORD
database=TEAMSPEAK_DATABASE_NAME
socket=

Evaluation Purposes (No Data Persists)

For evaluation purposes or development you can use the following command. This
will not mount any volumes and when you stop your container
all data will be lost.

docker run --detach --rm \
    --publish=9987:9987/udp \
    --publish=30033:30033/tcp \
    --publish=10011:10011/tcp

First Run

On first start TeamSpeak prints out the Server Query Admin account token and
the Server Admin token for the default TeamSpeak virtual server. Those will look
like:

-----------------------------------------------------------------
                     I M P O R T A N T                           
-----------------------------------------------------------------
              Server Query Admin Account created                 
        loginname= "serveradmin", password= "xxxxxxxx"
-----------------------------------------------------------------

and:

------------------------------------------------------------------
                      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=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
------------------------------------------------------------------

You will need both credentials. Backup those for later use!

Available Ports

  • 9987/udp - The default voice port of the default TeamSpeak virtual server.
  • 30033/tcp - The default file transfer port (one for all virtual servers).
  • 10011/tcp - The default server query port (one for all virtual servers).
  • 41144/tcp - The default TeamSpeak DNS (tsdns) port (one for all virtual
    servers). Currently not supported/exposed.

TeamSpeak will also use the following outgoing ports. This means TeamSpeak
is accessing the Internet by itself.

  • 2010/udp - TeamSpeak weblist port.
  • 2008/tcp - TeamSpeak accounting port. If you block this your TeamSpeak server
    does not start or will be stopped automatically after some time.

Updating TeamSpeak Docker Container

You can simple update TeamSpeak by removing the container and do another
docker run as explained above.

Beware that you will lose all your data if you do not mount all the required
configuration and data and configuration directories/files.

docker rm -f TEAMSPEAK_DOCKER_CONTAINER_ID_OR_NAME

Report Bugs And Feature Requests On GitHub

Please report any bugs or feature requests directly on GitHub:
https://github.com/burnersk/docker-teamspeak/issues

Please also search before creating a new ticket. There may be a related ticket
available.

Docker Pull Command
Owner
burnersk
Source Repository

Comments (1)
killordee
a year ago

i cant start 2 teamspeak server where both have data transfer funktion the first server with 9987 10011 30033 runs perfekly and the second server with 9990 10012 30034 do not run data transfer and get me error but i can connect to the server perfektly