Hey Peter,
If you want to create a little video on how you got it working, or send
me the steps that you did so I could, I'd be thrilled to get that out
to our YouTube channel. I could have sworn we had one already of this
vein, but I could not find it this morning.
t
On 10/17/24 9:30 AM, Tristan Cacqueray wrote:
Hello Peter,
You need to disable SELinux labels to enable the container to access
the wayland socket. Try adding: `--security-opt label=disable` to
the podman argument list.
You might get the following error:
Couldn't open libGLESv2.so.2: libGLESv2.so.2: cannot open shared object file: No
such file or directory
In that case, add the `libglvnd-gles` package to your install list.
Hope that helps!
-Tristan
On Wed, Oct 16, 2024 at 21:50 Peter Portante wrote:
> Hello podman people,
>
> Was wondering if somebody can help me get a simple gnome-calculator
> container to work. I'd like to be able to run a container that has
> the Gnome-based app in the container but have it display on my
> desktop.
>
> So far I am able to create a simple container with the following container file:
>
> FROM
registry.fedoraproject.org/fedora
> RUN dnf install -y gnome-calculator
> CMD ["/usr/bin/gnome-calculator"]
>
> Then once built with:
>
> buildah bud -f ./ContainerFile --tag calc:latest .
>
> I run it using:
>
> podman run -it \
> -e WAYLAND_DISPLAY=${WAYLAND_DISPLAY} \
> -e XDG_RUNTIME_DIR=/tmp/xdg-runtime-dir \
> -e XAUTHORITY=/tmp/xdg-runtime-dir/$(basename ${XAUTHORITY}) \
> -v ${XDG_RUNTIME_DIR}:/tmp/xdg-runtime-dir \
> --userns=keep-id \
> localhost/calc:latest
>
> But nothing is displayed. :(
>
> Thanks for any help or direction you can offer.
>
> -Peter
> _______________________________________________
> Podman mailing list -- podman(a)lists.podman.io
> To unsubscribe send an email to podman-leave(a)lists.podman.io
>
> _______________________________________________
> Podman mailing list -- podman(a)lists.podman.io
> To unsubscribe send an email to podman-leave(a)lists.podman.io