I have no success in getting a GUI app to run within a container. Most give an error Can not open display :0 I thought it might be a lack of Xserver or simalar inside the container. I found via search mount /tmp/X11-unix and -e DISPLAY=$DISPLAY but this has not got me any closer. I tried to put together a a container for Weston. Here is what I got:
LABEL MAINTAINER “Brian Clark” firstname.lastname@example.org
ENV NAME=weston VERSION=0 RELEASE=1 ARCH=x86_64 XDG_RUNTIME_DIR=/run/user/XDG
RUN dnf -y install libunwind libinpu wayland mesa wayland-protocols weston wayland-ivi-extension
Any help would be appreciated.