Skip to content

Commit f5a97fb

Browse files
committed
docker-compose needs service name not container name
Signed-off-by: Phill Kelley <[email protected]>
1 parent 91274f5 commit f5a97fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/Containers/ZeroTier.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Now that you understand what the ZeroTier-client will and won't do, if you want
176176

177177
``` console
178178
$ cd ~/IOTstack
179-
$ docker-compose up -d zerotier
179+
$ docker-compose up -d zerotier-client
180180
```
181181

182182
3. Tell the container to join your ZeroTier network by replacing «NetworkID» with your ZeroTier Network ID:
@@ -209,7 +209,7 @@ The ZeroTier-router container is just the ZeroTier-client container with some `i
209209

210210
``` console
211211
$ cd ~/IOTstack
212-
$ docker-compose rm --force --stop -v zerotier
212+
$ docker-compose rm --force --stop -v zerotier-client
213213
```
214214

215215
2. Remove the existing service definition, either by:
@@ -275,7 +275,7 @@ To install Zerotier-router:
275275

276276
``` console
277277
$ cd ~/IOTstack
278-
$ docker-compose up -d zerotier
278+
$ docker-compose up -d zerotier-router
279279
```
280280

281281
4. If the Raspberry Pi running the service has not previously been authorised in [ZeroTier Central](https://my.zerotier.com), authorise it. Make a note of the IP address assigned to the device in ZeroTier Central. In [Topology&nbsp;2](#topology2) it is 10.244.0.1.
@@ -919,7 +919,7 @@ You can erase ZeroTier's persistent storage area like this:
919919

920920
``` console
921921
$ cd ~/IOTstack
922-
$ docker-compose rm --force --stop -v zerotier
922+
$ docker-compose rm --force --stop -v {zerotier-client | zerotier-router}
923923
$ sudo rm -rf ./volumes/zerotier-one
924924
```
925925

0 commit comments

Comments
 (0)