robertgzr / caged

dockerized wayland kiosk - powered by https://github.com/Hjdskes/cage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

containerized compositor

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)

what's inside

Dockerfile, entrypoint.sh, startcage.sh and startmpv.sh

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.

io.mpv.service and io.mpv.socket

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

wlrun.sh

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 ;)

About

dockerized wayland kiosk - powered by https://github.com/Hjdskes/cage


Languages

Language:Dockerfile 62.6%Language:Shell 37.4%