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
* If you are running "old menu" for the first time, you will be guided to "Install Docker". That will end in a reboot, after which you should re-enter the menu and choose your containers.
96
-
96
+
97
97
4. Bring up your stack:
98
98
99
99
```
100
100
$ cd ~/IOTstack
101
101
$ docker-compose up -d
102
102
```
103
-
103
+
104
104
### <aname="scriptedInstall"> scripted </a>
105
105
106
106
If you prefer to automate your installations using scripts, see:
@@ -161,9 +161,9 @@ Please try to minimise your use of `sudo` when you are working with IOTstack. He
161
161
$ grep -c 'sudo' ~/IOTstack/menu.sh
162
162
28
163
163
```
164
-
164
+
165
165
There are numerous uses of `sudo` within `menu.sh`. That means the designer thought about when `sudo` was needed.
166
-
166
+
167
167
2. Did the command you **just executed** work without `sudo`? Note the emphasis on the past tense. If yes, then your work is done. If no, and the error suggests elevated privileges are necessary, then re-execute the last command like this:
168
168
169
169
```
@@ -336,14 +336,15 @@ To start the stack:
336
336
$ cd ~/IOTstack
337
337
$ docker-compose up -d «container»
338
338
```
339
+
339
340
### <aname="downIOTstack"> stopping your IOTstack </a>
340
341
341
342
Stopping aka "downing" the stack stops and deletes all containers, and removes the internal network:
342
-
343
+
343
344
```
344
345
$ cd ~/IOTstack
345
346
$ docker-compose down
346
-
```
347
+
```
347
348
348
349
To stop the stack without removing containers, run:
349
350
@@ -361,7 +362,7 @@ $ cd ~/IOTstack
361
362
$ docker-compose stop «container»
362
363
```
363
364
364
-
This puts the container in a kind of suspended animation. You can resume the container with
365
+
This puts the container in a kind of suspended animation. You can resume the container with
365
366
366
367
```
367
368
$ cd ~/IOTstack
@@ -479,13 +480,13 @@ the change is mirrored **outside** the container at the same relative path withi
479
480
480
481
```
481
482
~/IOTstack/volumes/nodered/data
482
-
```
483
+
```
483
484
484
485
The same is true in reverse. Any change made to any file or folder **outside** the container within:
485
486
486
487
```
487
488
~/IOTstack/volumes/nodered/data
488
-
```
489
+
```
489
490
490
491
is mirrored at the same relative path **inside** the container at:
491
492
@@ -553,7 +554,7 @@ There are two kinds of images used in IOTstack:
553
554
The easiest way to work out which type of image you are looking at is to inspect the container's service definition in your `docker-compose.yml` file. If the service definition contains the:
554
555
555
556
*`image:` keyword then the image is **not** built using a Dockerfile.
556
-
*`build:` keyword then the image **is** built using a Dockerfile.
557
+
*`build:` keyword then the image **is** built using a Dockerfile.
557
558
558
559
#### <aname="updateNonDockerfile"> updating images not built from Dockerfiles </a>
559
560
@@ -588,7 +589,7 @@ Node-RED also provides a good example of why your Dockerfile might change: if yo
588
589
589
590
Note:
590
591
591
-
* You can also add nodes to Node-RED using Manage Palette.
592
+
* You can also add nodes to Node-RED using Manage Palette.
592
593
593
594
##### <aname="buildDockerfile"> when Dockerfile changes (*local* image only) </a>
0 commit comments