Installing Znuny on Debian with Docker
This guide installs Docker and Docker Compose on Debian so you can run Znuny using the Docker Compose installation.
Supported Debian versions
Section titled “Supported Debian versions”- Debian 11 (Bullseye)
- Debian 12 (Bookworm)
Older versions (Debian 10) generally work if a current Docker version can be installed.
System requirements
Section titled “System requirements”| Component | Minimum | Recommended |
|---|---|---|
| CPU | 2 cores | 4+ cores |
| RAM | 4 GB | 8 GB or more |
| Disk | 20 GB free | 40 GB+ (SSD) |
| Docker | 20.10 | latest |
| Docker Compose | v2 | latest |
| Git | 2.17 | latest |
Step 1: Install Docker, Docker Compose, and Git
Section titled “Step 1: Install Docker, Docker Compose, and Git”Update package sources and install:
sudo apt updatesudo apt install -y docker.io docker-compose-v2 git[!NOTE] On older Debian versions without the
docker-compose-v2package, install the official Docker repository or use the legacydocker-composepackage.
Enable and start Docker:
sudo systemctl enable --now dockerOptional — run Docker without sudo (log out and back in afterwards):
sudo usermod -aG docker $USERVerify:
docker --versiondocker compose versionStep 2: Install Znuny
Section titled “Step 2: Install Znuny”Continue with the full stack setup:
Installing Znuny with Docker Compose
That guide clones a community compose project, configures MariaDB, runs the web installer at /znuny/installer.pl, and covers volumes, updates, and troubleshooting.
Traditional installation (without Docker)
Section titled “Traditional installation (without Docker)”For production on bare metal, follow the official Znuny installation guide for Apache, MariaDB, and Perl modules on Debian.
Frequently asked questions
Which Debian versions are supported for Znuny with Docker?
Debian 11 (Bullseye) and Debian 12 (Bookworm) are supported. Older releases such as Debian 10 often work if a current Docker version can be installed.
How do I install Docker Compose on Debian for Znuny?
Use apt to install docker.io, docker-compose-v2, and git, then enable the Docker service. Continue with the Docker Compose guide to deploy the Znuny community stack.