Made for netPI, the Open Edge Connectivity Ecosystem
Debian with X.org display server, desktop Xfce and ALSA audio
Base of this image builds a tagged version of debian:jessie with installed display server X.org enabling the device's HDMI port plus the desktop environment Xfce turning the device in a desktop computer with mouse and keyboard support. Additonally it embeds the ALSA Audio Sound package for sending the sound across HDMI.
The following host devices need to be exposed to the container
- for HDMI support the devices
- for mouse and keyboard support the device
- for sound over HDMI support the device
Only the privileged mode option lifts the enforced container limitations to allow usage of X.org display server in a container.
The container needs the "Host" network stack to be shared with the container.
STEP 1. Open netPI's landing page under
https://<netpi'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
Network > Network:
Restart policy" :
Runtime > Privileged mode :
Runtime > Devices > add device:
Host "/dev/tty0" -> Container "/dev/tty0"and
Host "/dev/tty2" -> Container "/dev/tty2"and
Host "/dev/fb0" -> Container "/dev/fb0"and
Host "/dev/input" -> Container "/dev/input"and
Host "/dev/snd" -> Container "/dev/snd"
STEP 4. Press the button Actions > Start container
Pulling the image from Docker Hub may take up to 5 minutes.
On Pi 3 for test
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 the image using the following command line
Make sure you have a mouse and keyboard connected before you start the container, else they will not be recognized. A HDMI monitor will only be recognized if it was already connected during netPI'S boot sequence, else its screen remains black. For simple tests use Firefox (icewaesel) to do some web page visits.
hilscher/netPI-desktop-hdmi:latest - non-versioned latest development output of the master branch. Shouldn't be used since under development all the time.
hilscher/netPI-desktop-hdmi:0.9.1.0 - runs with netPI's system software version V0.9.1.0. In this version the dbus host socket needs to be exposed to the container to run bluetooth Volumes > Volume mapping > map additional volume :
container: /var/run/docker.sock (bind)-> volume: /var/run/docker.sock(writeable).
hilscher/netPI-desktop-hdmi:18.104.22.168 - runs with netPI's system software version V22.214.171.124.