Get Started in Minutes
This guide will help you launch your first TeamSpeak 6 Server using Docker - the fastest and most reliable way to get started.New to Docker? Docker provides an isolated environment that makes setup simple and consistent across all platforms. Install Docker if you haven’t already.
Prerequisites
Before you begin, make sure you have:- Docker installed on your system (Installation Guide)
- Port 9987 (UDP) and 30033 (TCP) available on your system
- Basic command line knowledge
Quick Start with Docker
Run the Server
Launch your TeamSpeak 6 Server with a single command:This command:
- Runs the server in detached mode (
-d) - Names the container
teamspeak-server - Opens port 9987/UDP for voice communication
- Opens port 30033/TCP for file transfers
- Accepts the license agreement
- Creates a persistent volume for server data
Retrieve Your Admin Credentials
After the server starts, retrieve your ServerAdmin privilege key:Look for output similar to:
Connect to Your Server
- Download and install the TeamSpeak 6 Client
- Open the client and click “Add Server”
- Enter your server details:
- Address:
localhost:9987(or your server’s IP) - Nickname: Your preferred display name
- Address:
- Connect to the server
- When prompted, use the privilege key from Step 2 to gain admin rights
Managing Your Server
Once your server is running, use these commands to manage it:Your server data is stored in the
teamspeak-data Docker volume, so it persists even when the container is stopped or removed.Production Setup with Docker Compose
For production deployments, we recommend using Docker Compose for easier management and configuration.Create a docker-compose.yaml File
Create a new file named
docker-compose.yaml in your project directory:Start Your Server
Launch your server using Docker Compose:Check the logs to retrieve your admin key:
Running on Native Systems
If you prefer running the server directly without Docker:- Linux
- Windows
Configuration Options
Want to customize your server? You can configure it using:- Environment Variables - Perfect for Docker deployments
- Command-Line Flags - Quick temporary changes
- YAML Configuration File - Best for persistent configuration
Common Configuration Examples
Troubleshooting
Port Already in Use
Port Already in Use
If you see an error about ports being in use:
-
Check what’s using the port:
-
Either stop the conflicting service or change the TeamSpeak port:
Can't Connect to Server
Can't Connect to Server
If you can’t connect to your server:
-
Verify the server is running:
-
Check the server logs:
- Ensure your firewall allows UDP port 9987 and TCP port 30033
-
If connecting remotely, use your public IP address instead of
localhost
Lost Admin Key
Lost Admin Key
If you lost your ServerAdmin privilege key:
-
You can set a custom admin password using an environment variable:
- Use this password to authenticate via ServerQuery
Container Keeps Restarting
Container Keeps Restarting
If your Docker container keeps restarting:
-
Check the logs for errors:
-
Common issues:
- License not accepted (add
-e TSSERVER_LICENSE_ACCEPTED=accept) - Database connection issues (check MariaDB container is healthy)
- Port conflicts (change the port mappings)
- License not accepted (add
Data Backup
Backup Docker Volume
Restore from Backup
Cleaning Up
If you need to remove your server completely:Next Steps
Now that your server is running:Configure Your Server
Explore advanced configuration options
Server Query API
Learn how to manage your server programmatically
Database Setup
Configure MariaDB for production deployments
Best Practices
Security and optimization tips