Raspberry Pi GPIO in Docker container (Homebridge)
Raspberry Pi GPIO in Docker container (Homebridge)
I am trying to access the GPIO pins on my Pi3 B from a docker container. The container is started using docker-compose.
I already tried using privileged mode, addind /dev/gpiomem as a device and adding /sys/class/gpio as a volume.
I cannot get it to work. Has anyonne accomplished this?
The Error is:
EACCES: permission denied, open '/sys/class/gpio/export'
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Can you show us specifically what you've tried, and the resulting behavior?
– larsks
Jun 29 at 18:15