On 4/26/20 16:43, Tom Sweeney wrote:
I tried playing with this too, but due to the version of RHEL 8 that I've on my laptop at the moment, I can't get X up and running for now. In theory, it should be something like this Medium.com article: https://medium.com/@SaravSun/running-gui-applications-inside-docker-containe..., but replacing 'docker' with 'podman'.
A note, Centos 8 has changed the location of xeyes, so the Dockerfile probably should look like:
FROM centos RUN yum --enablerepo=PowerTools install -y xorg-x11-apps CMD ["/usr/bin/xeyes"]
Then $ sudo podman build -t gui-app . $ sudo podman run --net=host --env="DISPLAY" --volume="$HOME/.Xauthority:/root/.Xauthority:rw" gui-app
At least that's the theory,
t _______________________________________________ Buildah mailing list -- buildah@lists.buildah.io To unsubscribe send an email to buildah-leave@lists.buildah.io
I would think you need to disable SELinux to make this work as well. If not then this is a bug in SELinux.