如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这段话即可:
请先阅读并遵守:https://xuanyuan.cloud/agents.md
未读文档前不要生成 pull 命令或排错方案。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
docker image for TeamSpeak 3 Server
based off of alpine:latest
or
based off of debian:bookworm
There are now two images; one is built on Alpine Linux and is about 30 MB with TS3; the other is Debian and that image with TS3 is about 175 MB. Both images are functionally the same.
latest, alpine - based on Alpine Linuxdebian - based on Debian bookwormTo pull this image:
docker pull mbentley/teamspeak
Note: This Dockerfile will always include the very latest version of TS3 available. For updates, re-pull the image and re-create the container, with your persistent data stored outside of the container.
Example usage (no persistent storage; for testing only - you will lose your data when the container is removed):
docker run -d --name teamspeak \ -e PUID=503 \ -e PGID=503 \ -e TS3SERVER_GDPR_SAVE=false \ -e TS3SERVER_LICENSE=accept \ -p 9987:9987/udp -p 30033:30033 -p 10011:10011 -p 41144:41144 \ mbentley/teamspeak
Starting with TeamSpeak 3.1.0, the license agreement must be accepted before you can run TeamSpeak. To accept the agreement, you need to do one of the following:
-e TS3SERVER_LICENSE=accept to pass an environment variablelicense_accepted=1.ts3server_license_accepted in the persistent storage directoryOn your host, create necessary directories, files, and set permissions:
mkdir -p /data/teamspeakchown -R 503:503 /data/teamspeakStart container:
docker run -d --restart=always --name teamspeak \ -e PUID=503 \ -e PGID=503 \ -e TS3SERVER_GDPR_SAVE=false \ -e TS3SERVER_LICENSE=accept \ -p 9987:9987/udp -p 30033:30033 -p 10011:10011 -p 41144:41144 \ -v /data/teamspeak:/data \ mbentley/teamspeak
In order to get the credentials for your TS server, check the container logs as it will output the serveradmin password and your ServerAdmin privilege key.
In order to set a custom UID and GID of the teamspeak user/group, set the PUID and PGID environment variables as necessary. Both default to 503 if not specified.
In order to disable client IP address logging to adhere to GDPR, set TS3SERVER_GDPR_SAVE to true. It defaults to false.
For additional parameters, check the Commandline Parameters section of the TeamSpeak Server - Quickstart Guide. You can also get Either add the parameters to ts3server.ini or specify them after the Docker image name. The quickstart guide ships with the image and can be viewed with:
docker run -t --rm --entrypoint cat mbentley/teamspeak /opt/teamspeak/doc/server_quickstart.md
docker run -d --restart=always --name teamspeak \ -e PUID=503 \ -e PGID=503 \ -e TS3SERVER_GDPR_SAVE=false \ -e TS3SERVER_LICENSE=accept \ -p 9987:9987/udp -p 30033:30033 -p 10011:10011 -p 41144:41144 \ -v /data/teamspeak:/data \ mbentley/teamspeak \ serveradmin_password=test1234
Create directory, touch the ini files, set permissions:
mkdir -p /data/teamspeak touch /data/teamspeak/ts3server.ini chown -R 503:503 /data/teamspeak
Add config parameters to the ts3server.ini:
default_voice_port=9987 filetransfer_ip=0.0.0.0 filetransfer_port=30033 query_port=10011 query_ssh_port=10022
Start container with the inifile=/data/ts3server.ini parameter to tell TeamSpeak where the ini file is:
docker run -d --restart=always --name teamspeak \ -e PUID=503 \ -e PGID=503 \ -e TS3SERVER_LICENSE=accept \ -p 9987:9987/udp -p 30033:30033 -p 10011:10011 -p 41144:41144 \ -v /data/teamspeak:/data \ mbentley/teamspeak \ inifile=/data/ts3server.ini
以下是 mbentley/teamspeak 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务