Public | Automated Build

Last pushed: 2 years ago
Short Description
ZNC IRC Bouncer on Alpine Linux 3.4
Full Description

You need to create a volume to keep ZNC's data:

docker volume create --name="znc"

If you already have running ZNC anywhere else you can copy it's data into znc:/data. For example the config goes to znc:/data/configs/znc.conf.

Run the container attaching this volume:

docker run -d --name znc -v znc:/data -p 6667:6667 -p 8067:8067 vladimiroff/znc

It exposes 6667 for IRC and 8067 for the webadmin. If there's no imported configuration the container will shutdown due to missing config. In order to create one interactively:

docker run -i -t -v znc:/data vladimiroff/znc --data /data --makeconf

... and then re-run the container.


If you want to manage this container with systemd, here's an example for a service file (/etc/systemd/system/znc.service):


ExecStart=/usr/bin/docker start -a znc
ExecStop=/usr/bin/docker stop -t 10 znc

Docker Pull Command
Source Repository