ZNC in a container
Go to file
2015-01-23 23:37:24 -08:00
crontab Add auto-generated channel stats [beta] 2015-01-23 23:37:24 -08:00
daemons.conf Add auto-generated channel stats [beta] 2015-01-23 23:37:24 -08:00
default Add auto-generated channel stats [beta] 2015-01-23 23:37:24 -08:00
Dockerfile Add auto-generated channel stats [beta] 2015-01-23 23:37:24 -08:00
pisg.py Add auto-generated channel stats [beta] 2015-01-23 23:37:24 -08:00
README.md Added readme 2015-01-06 19:15:39 -08:00
start initial commit 2015-01-06 18:56:01 -08:00

Docker ZNC

Suitable for create docker containers running ZNC (and sshd!)

General steps:

  • Install docker
  • Clone this repo, cd in
  • Load it as a template: sudo docker build -t znc .
  • Start a new container: sudo docker run -it -p 666:22 -p 4421:4421 znc /start

On first start, the znc configuration will run. Set it up as needed; the port znc listens on must be exposed in the command used to start the container (-p 4421:4421 above). The final question asks if you want to start znc, choose NO.

  • Find the new container in your list: sudo docker ps -a
  • Run it in the background: sudo docker start mycontainerid