You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -97,13 +97,13 @@ Then, you may do `/znc rehash` from your IRC client in order to reload your conf
97
97
98
98
## Migrating existing ZNC bouncer
99
99
100
-
The main thing to make an easy migration is to essentially mount your existing ZNC data directory inside a `znc-conf` container, instead of generating a new configuration. To do this, you can simply create a new container and mount your existing directory at the expected datadir for this Docker image (`/var/lib/znc`).
100
+
The main thing to make an easy migration is to essentially mount your existing ZNC data directory inside a `znc-conf` container, instead of generating a new configuration. To do this, you can simply create a new container and mount your existing directory at the expected data directory for this Docker image (`/var/lib/znc`).
101
101
102
102
```
103
103
$ docker run --name znc-conf -v /path/to/znc:/var/lib/znc busybox
104
104
```
105
105
106
-
In this case, you don't necessarily need the `tmaddox/znc` image for your `znc-conf` container, since you're not invoking `znc --make-conf` to generate a new configuration. :)
106
+
In this case, you don't necessarily need the `tmaddox/znc` image for your `znc-conf` container, since you're not invoking `znc --make-conf` to generate a new configuration. So, for this example, I just used the `busybox` image. :)
107
107
108
108
After you've created your `znc-conf` container, you can create your server container, like described in the [from scratch setup](#from-scratch-setup):
109
109
@@ -117,7 +117,7 @@ After creating the `znc-conf` container, in order to reduce downtime in the migr
117
117
$ docker pull tmaddox/znc:1.0
118
118
```
119
119
120
-
Once, Docker is done pulling the image, just stop your existing service and run the container; it should be very quick. This will allow us to use the same port as before, without Docker erroring out trying to use a port that's already in-use.
120
+
Once, Docker is done pulling the image, just stop your existing service and then run the `znc-server` container. This will allow us to use the same port as before, without Docker erroring out trying to use a port that's already in-use.
121
121
122
122
```
123
123
$ service znc stop; docker run -d --name znc-server --volumes-from=znc-conf -p 6697:6697 tmaddox/znc:1.0
0 commit comments