💬 Setup TeamSpeak — Low-Latency Voice Chat Server
Deploy a TeamSpeak 3 server on Ubuntu with Docker — the classic low-latency, high-quality voice chat platform for gaming and communities, on UDP port 9987.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/communication/teamspeak/teamspeak-ubuntu.sh
chmod +x teamspeak-ubuntu.sh
sudo bash teamspeak-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/communication/teamspeak/teamspeak-ubuntu.sh
2 Make it Executable
chmod +x teamspeak-ubuntu.sh
3 Run the Installer
The script installs Docker if needed and starts the TeamSpeak server, accepting the license via an environment variable, with voice on UDP 9987, the query interface on 10011, and file transfer on 30033. Data is stored in a mounted volume.
sudo bash teamspeak-ubuntu.sh
4 Get the Admin Token from the Logs
TeamSpeak prints a one-time Server Admin token on first start. Retrieve it from the logs, connect with the TeamSpeak client to your-server-ip, and paste the token to claim admin:
docker logs teamspeak 2>&1 | grep -i token
Ports Used
| Port | Purpose |
|---|---|
| 9987/udp | Voice — must be reachable by your users |
| 10011 | Server query (keep off the public internet) |
| 30033 | File transfer |
| admin token | Printed once in the logs — paste it in the client to claim admin |