Hello,
I do not know the architecture of yunohost. But wouldn’t be possible/better for cross platform installation to containerize yunohost and ship a a package?
I think of podman and distrobox as examples!
Thanks for your explanation!
YunoHost is not “an app”, it’s an ecosystem. Container technologies such as Docker or Podman are usually meant to run a single process tree, usually not actually root on the underlying kernel etc. YunoHost needs a good 10~ish daemons just for the base system (between nginx, postfix/dovecot, slapd, yunohost-api, dnsmasq, …). And then it’s meant to install apps, each with their own daemon.
You can probably try to fit your kitchen, bedroom, office and garden all in the bathroom, but sooner or later you’re gonna have big problems when your toaster gets too close from the shower
Edit: not to mention that Docker and i guess podman too is all about “immutability” of the file tree inside the container, and then you need to define “external” volumes to handle data … good luck doing this for a “classic” debian-like system
I am just wondering.
Well there won’t be the toaster close to the shower because there is an isolation.
Well Fedora as OS is doing it with Fedora silverblue for example ( I think this will be the next generation Linux OS’s)
casaos as a home cloud doing it with the Docker ecosystem.
However with Podman you can have rooted and unrooted containers which is not possible with docker!
The architecture of Podman is very different than of docker engine. Podman is deamonless and it splits actually itself as a new process each time and there is no a single point of failure as in docker engine.
Isolation brings even security as when compromising one app, prevents from rooting the whole system.
I think it is not impossible to do. But It might not be an easy transition!
I really invite you to take look at the Podman architecture, its worth it.
Otherwise take alook at this project https://distrobox.it/