For platform details read on here.
Base of this image builds a tagged version of ubuntu with installed display server X.org enabling the device's DVI port plus the desktop environment Xfce turning the device in a desktop computer with mouse and keyboard support.
The display server needs access to the following gateway's host devices:
- console tty0
- console tty2
- frame buffer fb0
- input devices inputs
- Direct Rendering Manager dri
- VGA arbiter vga_arbiter
Starting the X11 server needs full access to the /dev devices mentioned above, else the error "Fatal server error: AddScreen/ScreenInit failed for driver 0" is reported durind start. Only the privileged mode lifts the enforced device cgroups limitations.
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"
andHost "/dev/dri" -> Container "/dev/dri"
andHost "/dev/vga_arbiter" -> Container "/dev/vga_arbiter"
-
Runtime > Privileged mode:
On
STEP 4. Press the button Actions > Start container
The image is built from the GitHub project desktop. It complies with the Dockerfile method to build a Docker image automated.
View the license information for the software in the Github project. As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained). As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
Hilscher Gesellschaft fuer Systemautomation mbH www.hilscher.com