Public | Automated Build

Last pushed: 3 months ago
Short Description
Debian(jessie) with Node-RED and Fieldbus node for netPI (or NHAT 52-RTE + Pi 3)
Full Description


Industrialized Raspberry Pi for Custom Automation Projects

For platform details read on here.

The image - Raspbian OS with Node-RED and Fieldbus node

Base of this image builds a tagged version of debian:jessie with installed Internet of Things flow-based programming web-tool Node-RED and two extra nodes Fieldbus in and Fieldbus out providing access to netPI's Industrial Networks SoC netX. The nodes initialize netX as either PROFINET IO device or EtherNet/IP adaptor allowing the exchange of cyclic IO process data with PLCs such as Siemens S7 or Allen Bradley.

Container prerequisites

Port mapping

To grant access to the Node-RED programming tool in the container its used port 1880 needs to be mapped to a free netPI host port.

To grant access to the Fieldbus Configuration web pages in the container the port 9000 needs to be mapped to netPI's port 9000.

Host network

The container needs the netPI "Host" network stack to be shared with it to use the same IP network setup as netPI

Host device

To grant access to the netX from inside the container the netPI's /dev/spidev0.0 host device needs to be exposed to the container.
(On Pi 3 make sure the device /dev/spidev0.0 is activated. If not use raspi-config tool to enable it.)

Getting started

On netPI

STEP 1. Open netPI's landing page under https://<netpi's ip address>.

STEP 2. Click the Docker tile to open the Docker management user interface.

STEP 3. Enter the following parameters under Containers > Add Container

  • Image: hilschernetpi/netpi-nodered-fieldbus

  • Port mapping: Host "1880" (any unused one) -> Container "1880"andHost "9000" -> Container "9000"

  • Network > Network: Host

  • Restart policy" : always

  • Runtime > Devices > add device: Host "/dev/spidev0.0" -> Container "/dev/spidev0.0"

STEP 4. Press the button Actions > Start container

Pulling the image from Docker Hub may take up to 5 minutes.

On Pi 3

STEP 1. Establish a console connection to Pi 3.

STEP 2. Install Docker if not already done, else skip.

STEP 3. Run a container instance of image using the following command line

docker run -p 1880 -p 9000 --device=/dev/spidev0.0 --restart=always --network=host hilschernetpi/netpi-nodered-fieldbus


After starting the container open Node-RED in your browser with http://<netPi ip address>:<mapped host port> e.g. Two extra nodes Fieldbus in and Fieldbus out in the nodes library provides you access to netPI's netX SoC. Their info tab explains how to use them.

GitHub sources

The image is built from the GitHub project netPI-nodered-fielbus. It complies with the Dockerfile method to build a Docker image automated.

To allow building ARM containers on x86 platforms under Dockerhub the Dockerfile uses the method described here


Hilscher Gesellschaft für Systemautomation mbH

Docker Pull Command
Source Repository

Comments (0)