Skip to content
πŸ’¬ Minimal container image of the TeamSpeak voice chat server
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
rootfs
Dockerfile.glibc
Dockerfile.musl
LICENSE
README.md

README.md

teamspeak (container image)

Minimal container image of the TeamSpeak voice chat server

Tags

Docker Hub

Available on Docker Hub as ricardbejarano/teamspeak:

Quay

Available on Quay as:

Features

  • Super tiny (glibc-based is ~20.4MB and musl-based is ~16.3MB)
  • Binary pulled from official website
  • Built FROM scratch, see Filesystem for an exhaustive list of the image's contents
  • Reduced attack surface (no shell, no UNIX tools, no package manager...)

Configuration

Volumes

  • Bind your database file at /data/ts3server.sqlitedb
  • Bind your database WAL file at /data/ts3server.sqlitedb-wal
  • Bind your ServerQuery IP blacklist at /data/query_ip_blacklist.txt
  • Bind your ServerQuery IP whitelist at /data/query_ip_whitelist.txt
  • Bind your SSH host RSA key at /data/ssh_host_rsa_key
  • Bind your server files at /data/files
  • Bind your logs at /data/logs

Note: do not bind directly to /data, you would remove some runtime-required SQL scripts.

Building

  • To build the glibc-based image: $ docker build -t teamspeak:glibc -f Dockerfile.glibc .
  • To build the musl-based image: $ docker build -t teamspeak:musl -f Dockerfile.musl .

Filesystem

The images' contents are:

glibc

Based on the glibc implementation of libc.

/
β”œβ”€β”€ data/
β”‚   β”œβ”€β”€ .keep
β”‚   └── sql/...
β”‚       └── ...
β”œβ”€β”€ etc/
β”‚   β”œβ”€β”€ group
β”‚   β”œβ”€β”€ passwd
β”‚   └── ssl/
β”‚       └── certs/
β”‚           └── ca-certificates.crt
β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ libc.so.6
β”‚   β”œβ”€β”€ libdl.so.2
β”‚   β”œβ”€β”€ libgcc_s.so.1
β”‚   β”œβ”€β”€ libm.so.6
β”‚   β”œβ”€β”€ libpthread.so.0
β”‚   β”œβ”€β”€ librt.so.1
β”‚   β”œβ”€β”€ libstdc++.so.6
β”‚   β”œβ”€β”€ libts3_ssh.so
β”‚   └── libts3db_sqlite3.so
β”œβ”€β”€ lib64/
β”‚   └── ld-linux-x86-64.so.2
└── ts3server

musl

Based on the musl implementation of libc.

/
β”œβ”€β”€ data/
β”‚   β”œβ”€β”€ .keep
β”‚   └── sql/
β”‚       └── ...
β”œβ”€β”€ etc/
β”‚   β”œβ”€β”€ group
β”‚   β”œβ”€β”€ passwd
β”‚   └── ssl/
β”‚       └── certs/
β”‚           └── ca-certificates.crt
β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ ld-musl-x86_64.so.1
β”‚   β”œβ”€β”€ libgcc_s.so.1
β”‚   β”œβ”€β”€ libstdc++.so.6
β”‚   β”œβ”€β”€ libts3_ssh.so
β”‚   └── libts3db_sqlite3.so
└── ts3server

License

See LICENSE.

You can’t perform that action at this time.