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.
185
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.
186
186
187
187
Therefore all tags regarding Raspberry PI's are dropped.
188
188
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.3-13-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.4-13-arm32v7`), and run the container.
190
190
```
191
191
docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red:latest
192
192
```
193
193
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.3-13-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.4-13-amd64`).
195
195
196
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.
197
197
198
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:
199
199
```
200
-
docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red:2.0.3-13-minimal-arm32v6
200
+
docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red:2.0.4-13-minimal-arm32v6
201
201
202
202
```
203
203
@@ -331,7 +331,7 @@ Docker build process, the dependencies are installed under `/usr/src/node-red`.
331
331
The main sections to modify are
332
332
333
333
"dependencies": {
334
-
"node-red": "^2.0.3", <-- set the version of Node-RED here
334
+
"node-red": "^2.0.4", <-- set the version of Node-RED here
335
335
"node-red-dashboard": "*" <-- add any extra npm packages here
0 commit comments