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