I have been running Node Red on RPi3B for a while.
Since many of my IoT-services has been ported to Docker, I thought it's time for Node Red as well. With
docker run -d -it --restart=always --name nodered -p 1880:1880 -v /home/pi/Docker-data/nodered/data:/data nodered/node-red:latest
I get almost what I want, most of my flows work as expected.
But the nodes "node-red-contrib-dht-sensor", "node-red-contrib-ds18b20-sensor" and "node-red-node-pi-gpio" does not get access to GPIO, so I can not control relays or read
the sensors connected to GPIOs. There seems to be missing permissions:
bcm2835_init: Unable to open /dev/gpiomem: Permission denied
I have tried to run with the --device /dev/gpiomem and also --privileged attribute, without luck.
How should this be solved?