Comments (6)
You need to run docker pull nodered/node-red:latest
to ensure that your local build environment has pulled the most up to date version.
If you don't do this then it will use what ever it has locally with the tag. Docker does NOT pull pre-req contianers when you build a Dockerfile
from node-red-docker.
Hi - can you make sure you've pulled the latest nodered/node-red
? The logs show you've ended up with Node-RED 2.2 - but that hasn't been the :latest
image for quite some time.
$ docker pull nodered/node-red
...
Digest: sha256:c9ab40bfd7957f17dbd5724e41160068df54530e9d1142d32104d5decb3e4371
$ docker run -it -p 1887 --name mynodered2 nodered/node-red
26 May 14:16:07 - [info]
Welcome to Node-RED
===================
26 May 14:16:07 - [info] Node-RED version: v3.0.2
26 May 14:16:07 - [info] Node.js version: v16.20.0
from node-red-docker.
Thanks, this helps me notice what I missed in the docs about the suffix on the latest tag.
When I use nodered/node-red and build the config, I get the latest-18
tag
docker compose build node-red
[+] Building 20.8s (4/5)
=> [node-red internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 441B 0.0s
=> [node-red internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [node-red internal] load metadata for docker.io/nodered/node-red:latest-18
If I change it back to nodered/node-red:latest and re-build the config, it still incorrectly tells me the "latest" tagged version is sha256:33334eab19f40e33dfc8a66bfae485fd8936af73dbe7da04dc21c33264f01f52
(digest 33334eab19f4
), which is not the same[1] as the actual latest (sha256:84db99f5c4615f146062003f8d8e1aa308c4337b6df9d5fd4668895650c8c94e
) on docker hub...
Seems like an issue in my docker instance as docker compose build
did not seem to force it to find the new latest...
[1] I can't even find a corresponding package with that digest...so I am going to clear my caches... sorry for the noise
from node-red-docker.
No problem - I'll close this issue off
from node-red-docker.
I don't know if this will help but I use these aliases:
alias BUILD='docker-compose -f ~/IOTstack/docker-compose.yml up --build -d'
alias REBUILD='docker-compose -f ~/IOTstack/docker-compose.yml build --no-cache --pull'
alias UP='docker-compose -f ~/IOTstack/docker-compose.yml up -d'
substituting the path to your
docker-compose.yml
If I want to rebuild a container (eg nodered) from the ground up and be sure the base image comes from Dockerhub:
$ REBUILD nodered
$ UP nodered
If I only need to rerun the local Dockerfile:
$ BUILD nodered
See also IOTstackAliases.
from node-red-docker.
Okay, so I figured out why I was really confused... I have been using watchtower for soooo long that I had forgotten the nuances of DockerFile. I had assumed it was updating everything (which it was except for the one thing that was in a Dockerfile)....
I ended up removing the Dockerfiler as it was not adding real value since I moved things into a compose file
from node-red-docker.
Related Issues (20)
- Docker images on the Hub are 9 months out of date / not regularly published even when there isn't a Node Red update HOT 21
- No matching manifest for windows/amd64 HOT 2
- TensorFlow nodes can't be installed due to Alpine image incompatibilty HOT 2
- ERROR: failed to solve: process "/bin/sh -c ./known_hosts.sh /etc/ssh/ssh_known_hosts && rm /usr/src/node-red/known_hosts.sh" HOT 8
- Getting errors trying to update Node-red-contrib-bigtimer and node-red-contrib-home-assistant-websocket HOT 13
- latest is actually -16, shouldn't it be -18? HOT 1
- Cannot load external flows for env var FLOWS=http... HOT 1
- Image with Debian and 18 HOT 8
- Crashing on RPi3 armv7l after latest build HOT 8
- docker pull 'missing signature key' HOT 4
- Support Node 20 HOT 4
- Problems accessing the ttyS2 HOT 5
- unhealthy state since v3.0.0 HOT 9
- Docker image with node 18.x core dumped HOT 12
- I'm not able to create mountpath: /data HOT 4
- Cannot install new nodes on fresh Docker image HOT 9
- Node-Red image v3.1.6-18 has CVE-2023-42282 vulnerability HOT 3
- Node-red image has security vulnerabilities HOT 7
- docker-debian.sh always fails because known_hosts.sh fails with "ssh-keyscan failed, no more retries left" HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-docker.