Skip to content

Commit 3c27df4

Browse files
committed
Manual update for v2.0.0
1 parent 0359de9 commit 3c27df4

File tree

3 files changed

+61
-62
lines changed

3 files changed

+61
-62
lines changed

README.md

Lines changed: 55 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ Let's dissect that command:
2626
-p 1880:1880 - connect local port 1880 to the exposed internal port 1880
2727
-v node_red_data:/data - mount the host node_red_data directory to the container /data directory so any changes made to flows are persisted
2828
--name mynodered - give this machine a friendly local name
29-
nodered/node-red - the image to base it on - currently Node-RED v1.3.5
29+
nodered/node-red - the image to base it on - currently Node-RED v2.0.0
3030

3131

3232
Running that command should give a terminal window with a running instance of Node-RED.
3333

3434
Welcome to Node-RED
3535
===================
3636

37-
10 Oct 12:57:10 - [info] Node-RED version: v1.3.5
38-
10 Oct 12:57:10 - [info] Node.js version: v10.22.1
37+
10 Oct 12:57:10 - [info] Node-RED version: v2.0.0
38+
10 Oct 12:57:10 - [info] Node.js version: v12.22.2
3939
10 Oct 12:57:10 - [info] Linux 4.19.76-linuxkit x64 LE
4040
10 Oct 12:57:11 - [info] Loading palette nodes
4141
10 Oct 12:57:16 - [info] Settings file : /data/settings.js
@@ -114,36 +114,35 @@ The following table shows the variety of provided Node-RED images.
114114

115115
| **Tag** |**Node**| **Arch** | **Python** |**Dev**| **Base Image** |
116116
|----------------------------|--------|----------|------------|-------|------------------------|
117-
| 1.3.5-10-amd64 | 10 | amd64 | 2.x 3.x | yes | amd64/node:10-alpine |
118-
| 1.3.5-10-arm32v6 | 10 | arm32v6 | 2.x 3.x | yes | arm32v6/node:10-alpine |
119-
| 1.3.5-10-arm32v7 | 10 | arm32v7 | 2.x 3.x | yes | arm32v7/node:10-alpine |
120-
| 1.3.5-10-arm64v8 | 10 | arm64v8 | 2.x 3.x | yes | arm64v8/node:10-alpine |
121-
| 1.3.5-10-s390x | 10 | s390x | 2.x 3.x | yes | s390x/node:10-alpine |
122-
| 1.3.5-10-i386 | 10 | i386 | 2.x 3.x | yes | i386/node:10-alpine |
117+
| 2.0.0-12-amd64 | 12 | amd64 | 2.x 3.x | yes | amd64/node:12-alpine |
118+
| 2.0.0-12-arm32v6 | 12 | arm32v6 | 2.x 3.x | yes | arm32v6/node:12-alpine |
119+
| 2.0.0-12-arm32v7 | 12 | arm32v7 | 2.x 3.x | yes | arm32v7/node:12-alpine |
120+
| 2.0.0-12-arm64v8 | 12 | arm64v8 | 2.x 3.x | yes | arm64v8/node:12-alpine |
121+
| 2.0.0-12-s390x | 12 | s390x | 2.x 3.x | yes | s390x/node:12-alpine |
122+
| 2.0.0-12-i386 | 12 | i386 | 2.x 3.x | yes | i386/node:12-alpine |
123123
| | | | | | |
124-
| 1.3.5-10-minimal-amd64 | 10 | amd64 | no | no | amd64/node:10-alpine |
125-
| 1.3.5-10-minimal-arm32v6 | 10 | arm32v6 | no | no | arm32v6/node:10-alpine |
126-
| 1.3.5-10-minimal-arm32v7 | 10 | arm32v7 | no | no | arm32v7/node:10-alpine |
127-
| 1.3.5-10-minimal-arm64v8 | 10 | arm64v8 | no | no | arm64v8/node:10-alpine |
128-
| 1.3.5-10-minimal-s390x | 10 | s390x | no | no | s390x/node:10-alpine |
129-
| 1.3.5-10-minimal-i386 | 10 | i386 | no | no | i386/node:10-alpine |
130-
124+
| 2.0.0-12-minimal-amd64 | 12 | amd64 | no | no | amd64/node:12-alpine |
125+
| 2.0.0-12-minimal-arm32v6 | 12 | arm32v6 | no | no | arm32v6/node:12-alpine |
126+
| 2.0.0-12-minimal-arm32v7 | 12 | arm32v7 | no | no | arm32v7/node:12-alpine |
127+
| 2.0.0-12-minimal-arm64v8 | 12 | arm64v8 | no | no | arm64v8/node:12-alpine |
128+
| 2.0.0-12-minimal-s390x | 12 | s390x | no | no | s390x/node:12-alpine |
129+
| 2.0.0-12-minimal-i386 | 12 | i386 | no | no | i386/node:12-alpine |
131130

132131
| **Tag** |**Node**| **Arch** | **Python** |**Dev**| **Base Image** |
133132
|----------------------------|--------|----------|------------|-------|------------------------|
134-
| 1.3.5-12-amd64 | 12 | amd64 | 2.x 3.x | yes | amd64/node:12-alpine |
135-
| 1.3.5-12-arm32v6 | 12 | arm32v6 | 2.x 3.x | yes | arm32v6/node:12-alpine |
136-
| 1.3.5-12-arm32v7 | 12 | arm32v7 | 2.x 3.x | yes | arm32v7/node:12-alpine |
137-
| 1.3.5-12-arm64v8 | 12 | arm64v8 | 2.x 3.x | yes | arm64v8/node:12-alpine |
138-
| 1.3.5-12-s390x | 12 | s390x | 2.x 3.x | yes | s390x/node:12-alpine |
139-
| 1.3.5-12-i386 | 12 | i386 | 2.x 3.x | yes | i386/node:12-alpine |
133+
| 2.0.0-14-amd64 | 14 | amd64 | 2.x 3.x | yes | amd64/node:14-alpine |
134+
| 2.0.0-14-arm32v6 | 14 | arm32v6 | 2.x 3.x | yes | arm32v6/node:14-alpine |
135+
| 2.0.0-14-arm32v7 | 14 | arm32v7 | 2.x 3.x | yes | arm32v7/node:14-alpine |
136+
| 2.0.0-14-arm64v8 | 14 | arm64v8 | 2.x 3.x | yes | arm64v8/node:14-alpine |
137+
| 2.0.0-14-s390x | 14 | s390x | 2.x 3.x | yes | s390x/node:14-alpine |
138+
| 2.0.0-14-i386 | 14 | i386 | 2.x 3.x | yes | i386/node:14-alpine |
140139
| | | | | | |
141-
| 1.3.5-12-minimal-amd64 | 12 | amd64 | no | no | amd64/node:12-alpine |
142-
| 1.3.5-12-minimal-arm32v6 | 12 | arm32v6 | no | no | arm32v6/node:12-alpine |
143-
| 1.3.5-12-minimal-arm32v7 | 12 | arm32v7 | no | no | arm32v7/node:12-alpine |
144-
| 1.3.5-12-minimal-arm64v8 | 12 | arm64v8 | no | no | arm64v8/node:12-alpine |
145-
| 1.3.5-12-minimal-s390x | 12 | s390x | no | no | s390x/node:12-alpine |
146-
| 1.3.5-12-minimal-i386 | 12 | i386 | no | no | i386/node:12-alpine |
140+
| 2.0.0-14-minimal-amd64 | 14 | amd64 | no | no | amd64/node:14-alpine |
141+
| 2.0.0-14-minimal-arm32v6 | 14 | arm32v6 | no | no | arm32v6/node:14-alpine |
142+
| 2.0.0-14-minimal-arm32v7 | 14 | arm32v7 | no | no | arm32v7/node:14-alpine |
143+
| 2.0.0-14-minimal-arm64v8 | 14 | arm64v8 | no | no | arm64v8/node:14-alpine |
144+
| 2.0.0-14-minimal-s390x | 14 | s390x | no | no | s390x/node:14-alpine |
145+
| 2.0.0-14-minimal-i386 | 14 | i386 | no | no | i386/node:14-alpine |
147146

148147
- All images have bash, tzdata, nano, curl, git, openssl and openssh-client pre-installed to support Node-RED's Projects feature.
149148

@@ -152,53 +151,53 @@ The following table shows the provided Manifest Lists.
152151

153152
| **Tag** | **Node-RED Base Image** |
154153
|----------------------------------------|--------------------------------------------|
155-
| latest, 1.3.5, | nodered/node-red:1.3.5-10-amd64 |
156-
| latest-10, 1.3.5-10 | nodered/node-red:1.3.5-10-arm32v6 |
157-
| | nodered/node-red:1.3.5-10-arm32v7 |
158-
| | nodered/node-red:1.3.5-10-arm64v8 |
159-
| | nodered/node-red:1.3.5-10-s390x |
160-
| | nodered/node-red:1.3.5-10-i386 |
154+
| latest, 2.0.0, | nodered/node-red:2.0.0-12-amd64 |
155+
| latest-10, 2.0.0-12 | nodered/node-red:2.0.0-12-arm32v6 |
156+
| | nodered/node-red:2.0.0-12-arm32v7 |
157+
| | nodered/node-red:2.0.0-12-arm64v8 |
158+
| | nodered/node-red:2.0.0-12-s390x |
159+
| | nodered/node-red:2.0.0-12-i386 |
161160
| | |
162-
| latest-minimal, 1.3.5-minimal, | nodered/node-red:1.3.5-10-amd64-minimal |
163-
| latest-10-minimal, 1.3.5-10-minimal | nodered/node-red:1.3.5-10-arm32v6-minimal |
164-
| | nodered/node-red:1.3.5-10-arm32v7-minimal |
165-
| | nodered/node-red:1.3.5-10-arm64v8-minimal |
166-
| | nodered/node-red:1.3.5-10-s390x-minimal |
167-
| | nodered/node-red:1.3.5-10-i386-minimal |
161+
| latest-minimal, 2.0.0-minimal, | nodered/node-red:2.0.0-12-amd64-minimal |
162+
| latest-10-minimal, 2.0.0-12-minimal | nodered/node-red:2.0.0-12-arm32v6-minimal |
163+
| | nodered/node-red:2.0.0-12-arm32v7-minimal |
164+
| | nodered/node-red:2.0.0-12-arm64v8-minimal |
165+
| | nodered/node-red:2.0.0-12-s390x-minimal |
166+
| | nodered/node-red:2.0.0-12-i386-minimal |
168167

169168
| **Tag** | **Node-RED Base Image** |
170169
|----------------------------------------|--------------------------------------------|
171-
| latest-12, 1.3.5-12 | nodered/node-red:1.3.5-12-amd64 |
172-
| | nodered/node-red:1.3.5-12-arm32v6 |
173-
| | nodered/node-red:1.3.5-12-arm32v7 |
174-
| | nodered/node-red:1.3.5-12-arm64v8 |
175-
| | nodered/node-red:1.3.5-12-s390x |
176-
| | nodered/node-red:1.3.5-12-i386 |
170+
| latest-12, 2.0.0-12 | nodered/node-red:2.0.0-14-amd64 |
171+
| | nodered/node-red:2.0.0-14-arm32v6 |
172+
| | nodered/node-red:2.0.0-14-arm32v7 |
173+
| | nodered/node-red:2.0.0-14-arm64v8 |
174+
| | nodered/node-red:2.0.0-14-s390x |
175+
| | nodered/node-red:2.0.0-14-i386 |
177176
| | |
178-
| latest-12-minimal, 1.3.5-12-minimal | nodered/node-red:1.3.5-12-amd64-minimal |
179-
| | nodered/node-red:1.3.5-12-arm32v6-minimal |
180-
| | nodered/node-red:1.3.5-12-arm32v7-minimal |
181-
| | nodered/node-red:1.3.5-12-arm64v8-minimal |
182-
| | nodered/node-red:1.3.5-12-s390x-minimal |
183-
| | nodered/node-red:1.3.5-12-i386-minimal |
177+
| latest-12-minimal, 2.0.0-12-minimal | nodered/node-red:2.0.0-14-amd64-minimal |
178+
| | nodered/node-red:2.0.0-14-arm32v6-minimal |
179+
| | nodered/node-red:2.0.0-14-arm32v7-minimal |
180+
| | nodered/node-red:2.0.0-14-arm64v8-minimal |
181+
| | nodered/node-red:2.0.0-14-s390x-minimal |
182+
| | nodered/node-red:2.0.0-14-i386-minimal |
184183

185184
With the support of Docker manifest list, there is no need to explicitly add the tag for the architecture to use.
186185
When a docker run command or docker service command or docker stack command is executed, docker checks which architecture is required and verifies if it is available in the docker repository. If it does, docker pulls the matching image for it.
187186

188187
Therefore all tags regarding Raspberry PI's are dropped.
189188

190-
For example: suppose you are running on a Raspberry PI 3B, which has `arm32v7` as architecture. Then just run the following command to pull the image (tagged by `1.3.5-10-arm32v7`), and run the container.
189+
For example: suppose you are running on a Raspberry PI 3B, which has `arm32v7` as architecture. Then just run the following command to pull the image (tagged by `2.0.0-13-arm32v7`), and run the container.
191190
```
192191
docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red:latest
193192
```
194193

195-
The same command can be used for running on an amd64 system, since docker discovers its running on a amd64 host and pulls the image with the matching tag (`1.3.5-10-amd64`).
194+
The same command can be used for running on an amd64 system, since docker discovers its running on a amd64 host and pulls the image with the matching tag (`2.0.0-13-amd64`).
196195

197196
This gives the advantage that you don't need to know/specify which architecture you are running on and makes docker run commands and docker compose files more flexible and exchangeable across systems.
198197

199198
**Note**: Currently there is a bug in Docker's architecture detection that fails for `arm32v6` - eg Raspberry Pi Zero or 1. For these devices you currently need to specify the full image tag, for example:
200199
```
201-
docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red:1.3.5-10-minimal-arm32v6
200+
docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red:2.0.0-13-minimal-arm32v6
202201
203202
```
204203

@@ -332,7 +331,7 @@ Docker build process, the dependencies are installed under `/usr/src/node-red`.
332331
The main sections to modify are
333332

334333
"dependencies": {
335-
"node-red": "^1.3.5", <-- set the version of Node-RED here
334+
"node-red": "^2.0.0", <-- set the version of Node-RED here
336335
"node-red-dashboard": "*" <-- add any extra npm packages here
337336
},
338337

docker-custom/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-docker",
3-
"version": "1.3.5",
3+
"version": "2.0.0",
44
"description": "Low-code programming for event-driven applications",
55
"homepage": "http://nodered.org",
66
"license": "Apache-2.0",
@@ -29,9 +29,9 @@
2929
}
3030
],
3131
"dependencies": {
32-
"node-red": "1.3.5"
32+
"node-red": "2.0.0"
3333
},
3434
"engines": {
35-
"node": ">=10"
35+
"node": ">=12"
3636
}
3737
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-docker",
3-
"version": "1.3.5",
3+
"version": "2.0.0",
44
"description": "Low-code programming for event-driven applications",
55
"homepage": "http://nodered.org",
66
"license": "Apache-2.0",
@@ -29,9 +29,9 @@
2929
}
3030
],
3131
"dependencies": {
32-
"node-red": "1.3.5"
32+
"node-red": "2.0.0"
3333
},
3434
"engines": {
35-
"node": ">=10"
35+
"node": ">=12"
3636
}
3737
}

0 commit comments

Comments
 (0)