Skip to content

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.

  • Debian 11 (Bullseye)
  • Debian 12 (Bookworm)

Older versions (Debian 10) generally work if a current Docker version can be installed.

ComponentMinimumRecommended
CPU2 cores4+ cores
RAM4 GB8 GB or more
Disk20 GB free40 GB+ (SSD)
Docker20.10latest
Docker Composev2latest
Git2.17latest

Step 1: Install Docker, Docker Compose, and Git

Section titled “Step 1: Install Docker, Docker Compose, and Git”

Update package sources and install:

Terminal window
sudo apt update
sudo apt install -y docker.io docker-compose-v2 git

[!NOTE] On older Debian versions without the docker-compose-v2 package, install the official Docker repository or use the legacy docker-compose package.

Enable and start Docker:

Terminal window
sudo systemctl enable --now docker

Optional — run Docker without sudo (log out and back in afterwards):

Terminal window
sudo usermod -aG docker $USER

Verify:

Terminal window
docker --version
docker compose version

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.

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.