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
+4-61Lines changed: 4 additions & 61 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,68 +15,11 @@ See [Getting Started](https://sensorsiot.github.io/IOTstack/Getting-Started) in
15
15
16
16
### significant change to networking
17
17
18
-
Networking under both *new menu* (master branch) and *old menu* (old-menu branch) has undergone a significant change. This will not affect new users of IOTstack (who will adopt it automatically). Neither will it affect existing users who do not use the menu to maintain their stacks (see [adopting networking changes by hand](#networkHandEdit) below).
19
-
20
-
Users who *do* use the menu to maintain their stacks will also be unaffected *until the next menu run*, at which point it will be prudent to down your stack entirely and re-select all your containers. Downing the stack causes Docker to remove all associated networks as well as the containers.
18
+
After 2022-01-18 the menu has changed to use Docker networks differently. Users from before this need to do [migration](https://sensorsiot.github.io/IOTstack/Updates/migration-network-change/) in order to add new services. In essence, just re-select all your services using the menu. If not done, docker-compose will give you an error like:
21
19
22
-
These changes mean that networking is **identical** under both *old* and *new* menus. To summarise the changes:
23
-
24
-
1. Only two internal networks are defined – as follows:
25
-
26
-
* "default" which adopts the name `iotstack_default` at runtime.
27
-
* "nextcloud" which adopts the name `iotstack_nextcloud` at runtime.
28
-
29
-
If you are using docker-compose v2.0.0 or later then the `iotstack_nextcloud` network will only be instantiated if you select NextCloud as one of your services. Earlier versions of docker-compose instantiate all networks even if no service uses them (which is why you get those warnings at "up" time).
30
-
31
-
2. The only service definitions which now have `networks:` directives are:
32
-
33
-
* NextCloud: joins the "default" and "nextcloud" networks; and
34
-
* NextCloud_DB: joins the "nextcloud" network.
35
-
36
-
All other containers will join the "default" network, automatically, without needing any `networks:` directives.
37
-
38
-
#### <aname="networkHandEdit"> adopting networking changes by hand </a>
39
-
40
-
If you maintain your `docker-compose.yml` by hand, you can adopt the networking changes by doing the following:
41
-
42
-
1. Take your stack down. This causes Docker to remove any existing networks.
43
-
2. Remove **all**`networks:` directives wherever they appear in your `docker-compose.yml`. That includes:
44
-
45
-
* the `networks:` directives in all service definitions; and
46
-
* the `networks:` specifications at the end of the file.
47
-
48
-
3. Append the contents of the following file to your `docker-compose.yml`:
See [Issue 219](https://github.com/SensorsIot/IOTstack/issues/219) and [Issue 253](https://github.com/SensorsIot/IOTstack/issues/253) for more information.
@@ -139,32 +137,32 @@ See [Issue 219](https://github.com/SensorsIot/IOTstack/issues/219) and [Issue 25
139
137
140
138
This patch is **ONLY** for Raspbian Buster. Do **NOT** install this patch if you are running Raspbian Bullseye.
141
139
142
-
#### step 1: check your OS release
140
+
1. check your OS release
143
141
144
-
Run the following command:
142
+
Run the following command:
145
143
146
-
```console
147
-
$ grep "PRETTY_NAME" /etc/os-release
148
-
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
149
-
```
144
+
```console
145
+
$ grep "PRETTY_NAME" /etc/os-release
146
+
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
147
+
```
150
148
151
-
If you see the word "buster", proceed to step 2. Otherwise, skip this patch.
149
+
If you see the word "buster", proceed to step 2. Otherwise, skip this patch.
152
150
153
-
#### step 2: if you are indeed running "buster"
151
+
2. if you are indeed running "buster"
154
152
155
-
Without this patch on Buster, Docker images will fail if:
153
+
Without this patch on Buster, Docker images will fail if:
156
154
157
-
* the image is based on Alpine and the image's maintainer updates to [Alpine 3.13](https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.13.0#time64_requirement); and/or
158
-
* an image's maintainer updates to a library that depends on 64-bit values for *Unix epoch time* (the so-called Y2038 problem).
155
+
* the image is based on Alpine and the image's maintainer updates to [Alpine 3.13](https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.13.0#time64_requirement); and/or
156
+
* an image's maintainer updates to a library that depends on 64-bit values for *Unix epoch time* (the so-called Y2038 problem).
0 commit comments