library/teamspeakMaintained by:
TeamSpeak Developers nwerensteijn and muenchow
Where to get help:
the Docker Community Slack, Server Fault, Unix & Linux, or Stack Overflow
Dockerfile linksNo supported tags
Where to file issues:
[***]
Supported architectures: (more info)
No supported architectures
Published image artifact details:
repo-info repo's repos/teamspeak/ directory (history)
(image metadata, transfer size, etc)
Image updates:
official-images repo's library/teamspeak label
official-images repo's library/teamspeak file (history)
Source of this description:
docs repo's teamspeak/ directory (history)
TeamSpeak offers the ideal voice communication for online gaming, education and training, internal business communication, and staying in touch with friends and family. Our primary focus is delivering a solution that is easy to use, with high security standards, excellent voice quality, and low system and bandwidth usage.
teamspeak.com
!logo
To view the license agreement:
console$ docker run -e TS3SERVER_LICENSE=view teamspeak
To start a TeamSpeak server, accept the license agreement, and map the ports to the host:
console$ docker run -p 9987:9987/udp -p ***:*** -p 30033:30033 -e TS3SERVER_LICENSE=accept teamspeak
Then you can connect to localhost in your TeamSpeak client. Please write down the server query password, and server admin privilege key that were generated. These are needed to administrate the TeamSpeak server.
The docker exec command allows you to run commands inside a Docker container. The following command line will give you a shell inside your teamspeak container:
console$ docker exec -it some-teamspeak sh
The TeamSpeak server log is available through Docker's container log:
console$ docker logs some-teamspeak
docker composeExample compose.yaml for teamspeak:
yamlservices: teamspeak: image: teamspeak restart: always ports: - 9987:9987/udp - ***:*** - 30033:30033 environment: TS3SERVER_DB_PLUGIN: ts3db_mariadb TS3SERVER_DB_SQLCREATEPATH: create_mariadb TS3SERVER_DB_HOST: db TS3SERVER_DB_USER: root TS3SERVER_DB_PASSWORD: example TS3SERVER_DB_NAME: teamspeak TS3SERVER_DB_WAITUNTILREADY: 30 TS3SERVER_LICENSE: accept db: image: mariadb restart: always environment: MYSQL_ROOT_PASSWORD: example MYSQL_DATABASE: teamspeak
Run docker compose up, wait for it to initialize completely, and visit localhost:9987 or host-ip:9987 (as appropriate) with a TeamSpeak client.
When you start the teamspeak image, you can adjust the configuration of the TeamSpeak server instance by passing one or more environment variables on the docker run command line.
TS3SERVER_LICENSEPATHSets the path where the TeamSpeak server is looking for the licensekey.dat. This variable is the path to the directory where the licensekey.dat is supposed to be located. Defaults to /var/ts3server/.
TS3SERVER_DB_PLUGINThis variable controls what kind of database the TeamSpeak server is using.
TS3SERVER_DB_PLUGINPARAMETERThe content of the this variable is send as parameter to the db plugin.
TS3SERVER_DB_SQLPATHThis variable controls where the TeamSpeak server looks for sql files. Defaults to /opt/ts3server/sql/.
TS3SERVER_DB_SQLCREATEPATHThis variable is the path to the sql scripts used to initialize the database. The path is relative to TS3SERVER_DB_SQLPATH
TS3SERVER_DB_CONNECTIONSThis variable controls how many concurrent connections to the database are being used. Must be at least 2 and at most 100. Defaults to 10.
TS3SERVER_DB_CLIENTKEEPDAYSThis variable is the amount of days that the TeamSpeak server will keep unused user identities. Users that have been added to a group will not be pruned, but guests will be.
TS3SERVER_IP_WHITELISTThis variable controls where the whitelist is found. The file contains a list of IP addresses which are exempt from the flood protection system. Warning: Do not add any IP addresses that you don't trust, as it will allow them to flood the server.
TS3SERVER_IP_BLACKLISTThis variable controls where the blacklist is found. The file contains a list of IP addresses that, no matter what, can't connect to the server query interface, even after a server restart.
TS3SERVER_LOG_PATHThis variable controls the folder where the server stores its log files. Defaults to /var/ts3server/logs/.
TS3SERVER_LOG_QUERY_COMMANDSIf this variable is set to 1, every query command that is sent to the server will be logged.
Warning: While this can help if you are running into issues with your server, it should be noted that this can cause your log files to become extremely large. Unless you absolutely want all commands to be logged, we recommend this variable to be set to 0 most of the time.
TS3SERVER_LOG_APPENDIf this variable is set to 1, all new log entries are written into a single file per virtual server. We suggest setting this variable to 0 as it will make life easier when looking at the logs.
TS3SERVER_QUERY_PROTOCOLSComma separated list of protocols that can be used to connect to the ServerQuery. Possible values are raw and ssh. If raw is specified a raw or "classic" ServerQuery is opened on ***/tcp. If ssh is specified an encrypted ServerQuery using SSH is opened at ***/tcp. Any combination of the aforementioned values can be specified in this parameter, including leaving it empty, which would disable ServerQuery altogether.
TS3SERVER_QUERY_TIMEOUTNumber of seconds before a query connection is disconnected because of inactivity. If value is set to be zero or negative, the timeout will be disabled. The default is a timeout of 300 seconds.
TS3SERVER_QUERY_SSH_RSA_HOST_KEYPath to the ssh_host_rsa_key to be used by query. If it does not exist, it will be created when the server is starting up.
A TeamSpeak server requires a license file when using more then 1 virtual server with 32 slots. For that the licensekey.dat has to be made available to the server. One way is mounting the licensekey.dat into /var/ts3server.
console$ docker run --name some-teamspeak -v /location/to/licensekey.dat:/var/ts3server/licensekey.dat teamspeak:tag
When the whole data directory (/var/ts3server/) has been mounted somewhere, the licensekey.dat can be copied inside that directory and will be loaded after the next restart of the TeamSpeak server.
Important note: There are several ways to store data used by applications that run in Docker containers. We encourage users of the teamspeak images to familiarize themselves with the options available, including:
The Docker documentation is a good starting point for understanding the different storage options and variations, and there are multiple blogs and forum postings that discuss and give advice in this area. We will simply show the basic procedure here for the latter option above:
/my/own/datadir.teamspeak container like this:console$ docker run --name some-teamspeak -v /my/own/datadir:/var/ts3server/ -d teamspeak:tag
The -v /my/own/datadir:/var/ts3server/ part of the command mounts the /my/own/datadir directory from the underlying host system as /var/ts3server inside the container, where TeamSpeak by default will write its data files.
View license information for the software contained in this image.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
Some additional license information which was able to be auto-detected might be found in the repo-info repository's teamspeak/ directory.
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
在 Linux 系统配置镜像服务
在 Docker Desktop 配置镜像
Docker Compose 项目配置
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
MacOS OrbStack 容器配置
在宝塔面板一键配置镜像
Synology 群晖 NAS 配置
飞牛 fnOS 系统配置镜像
极空间 NAS 系统配置服务
爱快 iKuai 路由系统配置
绿联 NAS 系统配置镜像
QNAP 威联通 NAS 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
无需登录使用专属域名
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。
专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。
当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。
通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。
先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。
使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。
来自真实用户的反馈,见证轩辕镜像的优质服务