Code Monkey home page Code Monkey logo

Comments (2)

knolleary avatar knolleary commented on May 28, 2024

Hi,

the README goes into great detail about how to use the docker images we provide, including how to extended it within your own images.

It may assume you have some familiarity with docker once you get into the more advanced topic of creating your own custom images from scratch - so if you have any specific feedback on the README that would be great.

Is there a reason you're trying to build it yourself rather than use the pre-built image we publish to dockerhub - nodered/node-red-docker:rpi?

from node-red-docker.

Head avatar Head commented on May 28, 2024

I'm answering here for the docker part:

If you want to run the dockerized version of NR on your Pi, you should just be able to run:

docker run -it -p 1880:1880 --name mynodered nodered/node-red-docker:rpi

Oh wow! That's working! Thank you! I've tried stuff for 3h or so...
Is there a reason... No, beside I have 0 background with docker.

The way of doing it was: I went to https://nodered.org/docs/platforms/docker and tried the quick start - what was failing with a strange error. Googling it lead to "ok, ARM does not work here".

Next thing was seeing rpi - uses RPi-compatible base image. and clicking that link. Then I've dockered this https://hub.docker.com/r/hypriot/rpi-node/ thing and was confused why nothing is working... Well, because it's NODE only and no node RED.

Then I've clicked on DockerHub and was reading:

This repository contains Dockerfiles to build different Node-RED Docker images.
Build these images with the following command...
$ docker build -f <version>/Dockerfile -t mynodered:<version> .

That was taking me literaly 2h. Tried to put in rpi in both <version> fields... Nope, I need this "Dockerfile" - but where is it? Already insinde that 700MB download? Not? Do I need to download it? and so on.

In the end I gave up. Not knowing it's that easy to just run docker run -it -p 1880:1880 --name mynodered nodered/node-red-docker[:<version>]

ps. thx for fixing the broken link. It's still dead on https://nodered.org/docs/platforms/docker

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.