this repo contains scripts, service files and dockerfiles to run a full wayland desktop running inside a container (albeit one with a lot of holes)
a multi-stage image that has all steps to a container with wlroots, cage and mpv inside. To get any of the in-between targets, run:
$ podman build -t wlroots:dev --target wlroots-dev .
The scripts are heavily inspired by an issue on the dockerx11 repo by mviereck.
systemd files to run a container with mpv as a socket activated service
Note: to get sound over HDMI to work on my Intel NUC I had to add the following lines to /etc/asound.conf
:
defaults.pcm.card = 0
defaults.pcm.device = 3
defaults.ctl.card = 0
I was using this script to testrun the container as there are quite a few arguments that need to be set for this to work ;)