X11 or Wayland/Weston on RPi 4 - docker sample image?

I’m looking for a sample Dockerfile that will run a lean/lightweight install of X11 or Wayland that I can then run a GTK3 application on top of. I’ve been messing around but couldn’t find a good reference for an up-to-date installation. I’m using RPi4 (actually CM4 on IO Board), and my host is running fine with VC4 kernel driver, etc.

Hello @HakanL i just discovered that this is a very old message on the forums. Were you able to get a docker sample image to run your application on X11 or Wayland?

1 Like

I didn’t find a sample, but I was able to get it to work :slight_smile:

that’s awesome @HakanL feel free to share your repo if it’s public so other people can learn from your solution!

It’s in a closed-source commercial project, but I own it so I’ve created a repo for it here, removed some things I had added to it (like WayVNC).
Wayland Docker Container Sample for Balena
I’m happy to accept PRs to clean this up further, but I wanted to share this with the community as a starting point, I know it would’ve helped me a lot in the beginning.

1 Like

This is great @HakanL thanks for sharing to the community!

1 Like