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
With the support of Docker manifest list, there is no need to explicitly add the tag for the architecture to use.
186
185
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.
187
186
188
187
Therefore all tags regarding Raspberry PI's are dropped.
189
188
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.
191
190
```
192
191
docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red:latest
193
192
```
194
193
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`).
196
195
197
196
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.
198
197
199
198
**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:
200
199
```
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
202
201
203
202
```
204
203
@@ -332,7 +331,7 @@ Docker build process, the dependencies are installed under `/usr/src/node-red`.
332
331
The main sections to modify are
333
332
334
333
"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
336
335
"node-red-dashboard": "*" <-- add any extra npm packages here
0 commit comments