wanjohiryan / Arc3dia

Self-Hosted Stadia: Play with your friends online from any device and at any time
https://nestri.io
GNU Affero General Public License v3.0
844 stars 14 forks source link

`[MAJOR]` New approach to running SteamOS using systemd-in-docker #83

Open wanjohiryan opened 1 year ago

wanjohiryan commented 1 year ago

The idea here is to run Dind mode.

Rough idea:

  1. Have a base docker image that will house every other container, it should run like a VM as we will need the /dev/uinput kernel module to create virtual input nodes
  2. The base image should be able to access /sys/fs/cgroup/devices/kubepods/ (for kubernetes) and /sys/fs/cgroup/devices/docker/ (for vanilla docker) on every run.
  3. Have SteamOS or any other game container running inside this base container.
  4. I am still undecided on whether to run ffmpeg and Xserver and pulseaudio in their own docker containers. I will update this when am done.
wanjohiryan commented 1 year ago

TODO: