Can't install Flox in containerized GitHub runner: System has not been booted with systemd as init system (PID 1). Can't operate

Hello,
I am trying to use Flox in our GitHub CI (on-premise) and the installation fails with the following error: “System has not been booted with systemd as init system (PID 1). Can’t operate.”

The GitHub runner is a container and apparently we use something called dumb-init which runs as PID 1 and that can’t be changed. Is there a way around this?

Thank you.

The installers might think you have a systemd-based OS. We have a conditional checking this;

if [ -e /run/systemd/system ]; then

Does that path exist in your container?

I wanted to get that information for you but I noticed it started working (after a week I was away). So let me try to find out whether anything has changed since…

Coincidentally our GH Actions runners were completely reworked and something has fixed the problem (couldn’t find what exactly that was because there were too many changes). Thanks for trying to help.