# ZNC ## Usage Prerequisites: - Copy `znc.conf.example` to `znc.conf` and modify relevant lines - Generate a password (see znc.conf.example) - (optional) Generate SSL certificates (see Dockerfile for openssl command) ### Using self signed SSL certificates ``` docker run --rm -it \ -v ${PWD}/znc.conf:/bootstrap/configs/znc.conf \ -p 6667:6667 \ -p 8000:8000 \ jerryaldrichiii/znc ``` ### Using your SSL certificates ``` docker run --rm -it \ -v ${PWD}/znc.conf:/bootstrap/configs/znc.conf \ -v ${PWD}/znc.crt:/bootstrap/tls/znc.crt \ -v ${PWD}:/bootstrap/tls/znc.key \ -p 6667:6667 \ -p 8000:8000 \ jerryaldrichiii/znc ``` ### Enabling debug mode ``` -e ZNC_DEBUG=true ```