How would one go about adding new nodes - such as the arduino node - to the container?
Faced a problem with self signed certificates. By adding option -e NODE_TLS_REJECT_UNAUTHORIZED=0 solved the problem
have you try to use your Dockerfile in the last few weeks ?
# install node-red RUN npm install -g node-red
give an error inside container and no image can be created.
@lesterthomas - The default configuration is to use the hostname in the file that stores the flows. (It is explained here: http://nodered.org/docs/configuration.html - search for "flowFile"). So you get a different file for each container you start, and that may be why cou don't get your saved flows back.
I use this command line to start the node red container:
docker run --name=nodered -d -v /home/core/projekte/nodered/:/root/.node-red -p 1881:1880 cpswan/node-red
The local directory /home/core/projekte/nodered" contains a settings.js file that can be used to set the name of the file the flows are saved in.
You can get a template settings.js file here:
... and modify the line with "flowFile" - set it to a static filename. That way you allways get your flows back.
Question: When I add new flows to my node-red, these flows disappear if I re-start the container. How do I save the state of the flows?