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
+22-21Lines changed: 22 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ Some basic familiarity with Docker and the [Docker Command Line](https://docs.do
12
12
13
13
As of Node-RED 1.0 this project provides the build for the `nodered/node-red` container on [Docker Hub](https://hub.docker.com/r/nodered/node-red/).
14
14
15
+
As of Node-RED 4.0.9 the containers are also available from the [GitHub Container Regisry](https://github.com/node-red/node-red-docker/pkgs/container/node-red) as `ghcr.io/node-red/node-red` with the same tag names as on Docker Hub.
16
+
15
17
Previous 0.20.x versions are still available at https://hub.docker.com/r/nodered/node-red-docker.
16
18
17
19
## Quick Start
@@ -26,7 +28,7 @@ Let's dissect that command:
26
28
-p 1880:1880 - connect local port 1880 to the exposed internal port 1880
27
29
-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
28
30
--name mynodered - give this machine a friendly local name
29
-
nodered/node-red - the image to base it on - currently Node-RED v4.1.0-beta.2
31
+
nodered/node-red - the image to base it on - currently Node-RED v4.1.2
30
32
31
33
32
34
@@ -35,7 +37,7 @@ Running that command should give a terminal window with a running instance of No
35
37
Welcome to Node-RED
36
38
===================
37
39
38
-
10 Oct 12:57:10 - [info] Node-RED version: v4.1.0-beta.2
40
+
10 Oct 12:57:10 - [info] Node-RED version: v4.1.2
39
41
10 Oct 12:57:10 - [info] Node.js version: v18.19.0
40
42
10 Oct 12:57:10 - [info] Linux 6.6.13-100.fc38.x86_64 x64 LE
41
43
10 Oct 12:57:11 - [info] Loading palette nodes
@@ -93,13 +95,12 @@ and stop it again when required:
93
95
The Node-RED images come in different variations and are supported by manifest lists (auto-detect architecture).
94
96
This makes it more easy to deploy in a multi architecture Docker environment. E.g. a Docker Swarm with mix of Raspberry Pi's and amd64 nodes.
95
97
96
-
The tag naming convention is `<node-red-version>-<node-version>-<image-type>-<architecture>`, where:
98
+
The tag naming convention is `<node-red-version>-<node-version>-<image-type>`, where:
97
99
-`<node-red-version>` is the Node-RED version.
98
100
-`<node-version>` is the Node JS version.
99
101
-`<image-type>` is type of image and is optional, can be either _none_ or minimal.
100
102
-_none_ : is the default and has Python 2 & Python 3 + devtools installed
101
103
- minimal : has no Python installed and no devtools installed
102
-
-`<architecture>` is the architecture of the Docker host system, can be either amd64, arm32v6, arm32v7, arm64, s390x or i386.
103
104
104
105
The minimal versions (without python and build tools) are not able to install nodes that require any locally compiled native code.
105
106
@@ -115,40 +116,40 @@ The following table shows the variety of provided Node-RED images.
With the support of Docker manifest list, there is no need to explicitly add the tag for the architecture to use.
188
189
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.
189
190
190
191
Therefore all tags regarding Raspberry PI's are dropped.
191
192
192
-
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 `4.1.0-beta.2-20`), and run the container.
193
+
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 `4.1.2-20`), and run the container.
193
194
194
195
195
196
```
@@ -329,7 +330,7 @@ Docker build process, the dependencies are installed under `/usr/src/node-red`.
329
330
The main sections to modify are
330
331
331
332
"dependencies": {
332
-
"node-red": "^4.1.0-beta.2", <-- set the version of Node-RED here
333
+
"node-red": "^4.1.2", <-- set the version of Node-RED here
333
334
"node-red-dashboard": "*" <-- add any extra npm packages here
0 commit comments