Closed Paraphraser closed 5 years ago
The unused image is a result of the Build process (Dockerfile). In order to inject the nodes from the menu I have a custom Dockerfile which builds from nodered/node-red. It creates a new image called iotstack_nodered. So technically it isnt "unused" due to the inheritance.
It would be best just to leave it as should you rebuild nodered then you will need to download this from the web again. I'm fairly certain I've tried to in the past and it refuses to remove it
Noted. Thanks. A candidate for a remark in the Wiki, perhaps?
I've added it to the wiki. Haven't managed to find the time to investigate pihole further though
I was taking a tour of Portainer when I noticed this small anomaly:
Not that I doubt Portainer's view of the world but, by way of a sanity check, the nodered/node-red image shows up in the CLI:
The CLI also agrees (by omission) that the "nodered/node-red" image isn't getting launched:
I'll state for the record that this problem has persisted across a ["git pull" -> "./menu" overwriting everything -> "docker-compose up -d"] so I don't think it can be characterised as "transient".
Is the presence of this unused image expected?
Is iotstack_nodered built from nodered/node-red? That is, is it safe to remove nodered/node-red or will removing it cause iotstack_nodered to fail?
If it is safe to remove nodered/node-red then what's the best way to go about it? Just select it in Portainer and click on "Remove", or is CLI removal preferred:
Or, is the safest course to forget about it and leave it entirely alone?