A container for running a `znc` server inside Docker.
2.2K
A container for running a znc server inside Docker based off of debian:8.
The container expects znc configuration files in the /var/znc directory on
the host. Remember to mount a directory on the host if you want to save the
users and logs when running the container.
Example configurations can be found in the znc/ directory. The credentials
for the default admin account is admin:admin and the server listens to the
port 4769.
To start the container with the example configurations and binding the port to the host you can run:
docker run -v `pwd`/znc:/var/znc -p 4769:4769 -it omgbzf/znc
Another way of running the container and have persistent data is to run it with a data container.
To create a data container you run:
docker create -v /var/znc --name znc-data omgbzf/znc /bin/true
Then to run znc with the data container:
docker run --volumes-from=znc-data -p 4769:4769 -it omgbzf/znc
Then you can access the container for going to http://host:4769/
Content type
Image
Digest
Size
135.9 MB
Last updated
over 10 years ago
docker pull omgbzf/znc