Skip to content

can't install new nodes in Node-Red due to no connection of node-red container with internet #249

@bogus105

Description

@bogus105

Hi guys!
after so many trials i'm forced to ask here: please guide me how to make my node-red container to connect to host network. I'm running OITstack on RB Pi4. I need to add nodes to NodeRed but i found it can't connect internet.
When i go to Portainer -> Containers -> nodered -> and connect to its console and check the content of /etc/resolv.conf by typing:
cat /etc/resolv.conf
i'm getting:

nameserver 127.0.0.11
options ndots:0

My RP Pi is connected to the router via ethernet cable and in the router in the LAN parameters the preffered DNS is 192.168.0.1
Should the /etc/resolv.conf point to this address?

How, why?
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions