Public | Automated Build

Last pushed: 19 days ago
Short Description
TeamSpeak server in a Docker
Full Description

Quick Start

Run the TeamSpeak server docker image:

docker run --name my-teamspeak \
    --detach --restart unless-stopped \
    --publish 9987:9987/udp \
    --publish 30033:30033 \
    jmlemetayer/teamspeak

Server Admin

The initial ServerAdmin privilege key and the Server Query Admin credentials
can be found in the beginning of the logs:

docker logs my-teamspeak

Server Query Connections

Server Query connections can be allowed by publishing the 10011 port:

docker run --name my-teamspeak \
    --detach --restart unless-stopped \
    --publish 9987:9987/udp \
    --publish 30033:30033 \
    --publish 10011:10011 \
    jmlemetayer/teamspeak

Data Persistence

The directory /var/lib/teamspeak containing the server files and database
should be mapped as volume to be saved outside the container:

docker run --name my-teamspeak \
    --detach --restart unless-stopped \
    --publish 9987:9987/udp \
    --publish 30033:30033 \
    --volume /var/lib/teamspeak:/var/lib/teamspeak \
    jmlemetayer/teamspeak

User & Group Management

You can force the container to start TeamSpeak with any user and group by
setting the UID and GID environment variable. This must be numerical value.

So it is possible to map a teamspeak host user & group to the container by
doing something like this:

docker run --name my-teamspeak \
    --detach --restart unless-stopped \
    --publish 9987:9987/udp \
    --publish 30033:30033 \
    --volume /var/lib/teamspeak:/var/lib/teamspeak \
    --env UID=$(id -u teamspeak) \
    --env GID=$(id -g teamspeak) \
    jmlemetayer/teamspeak
Docker Pull Command
Owner
jmlemetayer
Source Repository

Comments (0)