Public | Automated Build

Last pushed: a year ago
Short Description
TeamSpeak3 server build upon Alpine linux, this image has a very small footprint. (~44MB)
Full Description

Docker-TeamSpeak

A nice and easy way to get a TeamSpeak server up and running using docker. This image
uses Alpine with glibc support as it's base. Alpine is a small Linux distribution
with a very small footprint compared to for example it's bigger brother Ubuntu or Debian.
For help on getting started with docker see the official getting started guide.
For more information on TeamSpeak and check out their website.

Building Docker-TeamSpeak

Build a image with the latest version of Alpine and TeamSpeak.

git clone https://github.com/franklynalexander/docker-TeamSpeak
cd docker-teamspeak

Edit the Dockerfile to download the latest version of TeamSpeak available.
You can find the latest version number available for Linux 64bit here.

ENV    version=x.x.x.x
docker build -t franklynalexander/docker-teamspeak .

If everything went ok you should now have a new image with TeamSpeak on Alpine.

Running Docker-Teamspeak

Now that we have a image we can run a container. There are a couple of options:

Data stored on host filesystem

docker run --name=teamspeak -d -p 9987:9987/udp -p 10011:10011 -p 30033:30033 -v /path/to/data:/data franklynalexander/docker-teamspeak

Change -v /path/to/data to the path of the data directory on you system.

Data stored in separate data volume container

First create a data volume container

docker volume create --name teamspeak-data
docker run -name=teamspeak -d -p 9987:9987/udp -p 10011:10011 -p 30033:30033 -v teamspeak-data:/data franklynalexander/docker-teamspeak

You can start,restart and stop TeamSpeak by running:

docker start teamspeak
docker restart teampseak
docker stop teamspeak

ServerAdmin privilege key

The ServerAdmin token is printed in the log once you start the container for the first time. Check the logs to obtain the token.

docker logs teamspeak

Updating the container with the latest version of TeamSpeak and Alpine

Delete to old container

docker rm -f teamspeak

Pull the latest Alpine image

docker pulll frolvlad/alpine-glibc

Edit the Dockerfile to download the latest version of Teamspeak.

env    version=x.x.x.x

Build the image

docker build -t franklynalexander/docker-teamspeak .

Run the new image the same way you started the old image.

Docker Pull Command
Owner
franklynalexander

Comments (0)