Toradex provides an image with a Debian-based experience. It consists of a Debian container with the LXDE desktop environment.
Warning: Toradex does not guarantee that the X.org + LXDE container will be maintained over time for production-ready usage. Keep in mind that a full featured desktop environment is hardly ever a requirement for an embedded system, and thus it is meant as a technology showcase and a nice, user-friendly introduction to what you can achieve with Torizon.
In this module you will:
For this Getting Started Guide:
Pull Toradex's Debian image:
docker pull torizon/debian-lxde:buster
Instantiate and run a new container:
docker run -d -it --privileged -v /var/run/dbus:/var/run/dbus -v /dev:/dev torizon/debian-lxde:buster startx
The flags on this command give the container the necessary permissions to access hardware features from the host. After running it, a graphical interface comes up on the display.
Note: If you see a Session PID Error when starting the graphical interface, just click OK and ignore the message Warning: This container is experimental and may not be supported in the future
Check out the graphical interface. Open the terminal, located on Menu > System Tools > LXTerminal. Open the file system, web browser, etc.
On the terminal, run
apt install commands, after running
apt update. For instance:
apt updateapt install vim