ZNCEstimated reading time: 4 minutes
ZNC - An advanced IRC bouncer
GitHub repo: https://github.com/znc/znc-docker
Supported tags and respective
For detailed information about the published artifacts of each of the above supported tags (image metadata, transfer size, etc), please see the
repos/znc directory in the
docker-library/repo-info GitHub repo.
For more information about this image and its history, please see the relevant manifest file (
library/znc). This image is updated via pull requests to the
docker-library/official-images GitHub repo.
What is ZNC?
ZNC is an IRC network bouncer (BNC). It can detach the client from the actual IRC server, and also from selected channels. Multiple clients from different locations can connect to a single ZNC account simultaneously and therefore appear under the same nickname on IRC.
How to use this image
ZNC in this image stores its configuration in
/znc-data. If you have existing configuration, you can reuse it with
-v $HOME/.znc:/znc-data. Alternatively, you can create a new config in a volume or in a local dir. The examples below assumes a volume named
$ docker run -it -v znc-cfg:/znc-data znc --makeconf
To run ZNC:
$ docker run -p 6697:6697 -v znc-cfg:/znc-data znc
The port should match the port you used during
--makeconf. Note that 6667 is often blocked by web browsers, and therefore is not recommended.
If you use any external module, put the .cpp, .py or .pm file to
/znc-data/modules (you may need to create that directory).
Musl silently doesn’t support
AI_ADDRCONFIG yet, and ZNC doesn’t support Happy Eyeballs yet. Together they cause very slow connection. So for now IPv6 is disabled here.
znc images come in many flavors, each designed for a specific use case.
This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.
This image is smaller, but it doesn’t support external modules. If you need any external C++, Perl or Python module, use
latest instead of
Supported Docker versions
This image is officially supported on Docker version 17.04.0-ce.
Support for older versions (down to 1.6) is provided on a best-effort basis.
Please see the Docker installation documentation for details on how to upgrade your Docker daemon.
If you have any problems with or questions about this image, please contact us through a GitHub issue. If the issue is related to a CVE, please check for a
cve-tracker issue on the
official-images repository first.
You can also reach many of the official image maintainers via the
#docker-library IRC channel on Freenode.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.
Documentation for this image is stored in the
znc/ directory of the
docker-library/docs GitHub repo. Be sure to familiarize yourself with the repository’s
README.md file before attempting a pull request.