From cbf8a713ec7ac336a548e2aed65da1796a107096 Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 6 Jan 2015 19:15:39 -0800 Subject: [PATCH] Added readme --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..6ad0259 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +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` +