UDEV rules and Docker
automech-rb opened this issue · 2 comments
automech-rb commented
Hi,
Do I need to update the UDEV rules (99-gpio.rules) on the Jetson before using this lib inside docker?
I am sorry if its already mentioned but I was not able to find it.
Thanks
pjueon commented
If you run the docker container with the root user permission(ex> sudo ...
), you don't need to install the udev rules to your host jetson device.
But if you want to run the container with the non-root user permission, you should install the scripts/post_install.sh
script. And also you should map your uid and gid to the container(uid & gid in the container == your uid & gid of the gpio
group).
automech-rb commented
Got it. Thank you for the elaboration!