These Docker images provide a minimal setup to test GUI X11-Forwarding inside Docker containers using the xeyes application.
You can run these Docker containers using the following commands:
docker run --rm -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix ferri/xeyes:alpine
docker run --rm -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix ferri/xeyes:ubuntu
echo $DISPLAY from your host terminal does not return an empty result.xhost:xhost
access control enabled, only authorized clients can connect
SI:localuser:[YOUR-USER]
...
If your user is not listed, you can whitelist it by running xhost +SI:localuser:[YOUR-USER].
Content type
Image
Digest
sha256:b177901d5…
Size
6.8 MB
Last updated
over 2 years ago
docker pull ferri/xeyes:alpine