Hilscher's netIOT Edge devices securely connect OT automation networks such as PROFINET or Ethernet/IP with cloud or IoT directed applications. On the OT network side they are in cyclic I/O data exchange with a PLC while communicating with IoT-capable field devices at the same time directly over IOT protocols such as MQTT or OPC UA. On the IT network side they exchange those key field data with intelligent higher-level applications of cyber-physical systems and M2M solutions.
The Edge Gateways of type NIOT-E-TIJCX-GB-xx come with support out of the box for using Docker as a host. This feature enables gateway users to expand the range of default functions with their own dockerized applications.
The image provided hereunder is an example of how to use the gateway's display port for own applications.
The base for the image root filesystem is the Debian OS derivative jessie.
The gateway's host Linux OS is of type headless and has no display server installed by default.
This is why the image comes with a display server X.org.
On top of the display server the desktop environment Xfce is used in this image as example.
The display server needs access to the following gateway's host devices:
- console tty0
- console tty2
- frame buffer fb0
- inputs such as mouse/keyboard
Pulling the image from Docker Hub may take up to 5 minutes average.
STEP 1. Open NIOT-E-TIJCX-GB-RE's landing page under https://<gateways's ip address>
.
STEP 2. Click the Docker tile to open the Portainer.io Docker management user interface.
STEP 3. Enter the following parameters under Containers > Add Container
-
Image:
hilschernetiotedge/netiot-edge-desktop-dvi
-
Restart policy":
always
-
Runtime > Devices > add device:
Host "/dev/tty0" -> Container "/dev/tty0"
andHost "/dev/tty2" -> Container "/dev/tty2"
andHost "/dev/fb0" -> Container "/dev/fb0"
andHost "/dev/input" -> Container "/dev/input"
STEP 4. Press the button Actions > Start container
The image is built from the GitHub project netIOT-Edge-desktop-dvi. It complies with the Dockerfile method to build a Docker image automated.
- https://github.com/hilschernetiotedge/netIOT-Edge-desktop-dvi
- https://docs.docker.com/engine/reference/builder/
- http://portainer.io/
- https://hub.docker.com/_/debian
- https://en.wikipedia.org/wiki/X.Org_Server
- https://www.xfce.org/?lang=en
- https://docs.docker.com/docker-hub/builds/
Hilscher Gesellschaft für Systemautomation mbH www.hilscher.com