Code Monkey home page Code Monkey logo

Comments (4)

dceejay avatar dceejay commented on May 28, 2024

We use the default hypriot node4 image that doesn't have a root user (AFAIK) and we don't add the node-red user to the sudoers list... so don't think that will just work.
In the meantime there is an image with gpio enabled - https://hub.docker.com/r/nieleyde/rpi-nodered-gpio/

Happy to entertain the idea of a PR.

from node-red-docker.

seanboc avatar seanboc commented on May 28, 2024

Thanks Dceejay for coming back. I will take a look at the alternate image and give it a try out.

from node-red-docker.

kylehadland avatar kylehadland commented on May 28, 2024

Hello, I am having a similar issue. I am trying to access the i2c interface on a RPI and need to add a group 'i2c' to the image.

Relevant part of Dockerfile:

FROM nodered/node-red-docker:rpi
WORKDIR /usr/src/node-red
RUN npm install node-red-contrib-modbus
RUN npm install —unsafe-perm node-red-contrib-i2c
RUN groupadd -r i2c

from node-red-docker.

jthomas avatar jthomas commented on May 28, 2024

The GPIO images have now been added to the base image:
https://github.com/node-red/node-red-docker/blob/master/rpi/Dockerfile

I'm closing this ticket as it's not valid anymore.

from node-red-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.