-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue: System has not been booted with systemd as init system (PID 1). Can't operate. #952
Comments
It's not possible to run |
Hey @catthehacker, I do understand why this happening, but I do believe it's a but. The reason I believe this is because it breaks the first statement in the readme: "Run your GitHub Actions locally!". In my very inexperienced (with the guts of act) opinion, I would guess running systemd inside the container is the fix. This would mean that you can have a like-for-like experience with GitHub Actions. I understand that this might feel overkill, especially for those GHA's that are just checkout and flake8, but I do think |
Currently it's not possible to run everything, I also wouldn't like to misrepresent |
Thank you @catthehacker. I agree that Docker is probably being used to find a pragmatic balance, but I think it'll ultimately restrict My guess would be to fix this with machine containers (lxc, kvm, multipass etc.) instead of Docker. |
https://github.com/ChristopherHX/runner.server might work made by one of contributors, though I have never used it |
Issue is stale and will be closed in 14 days unless there is new activity |
System information
act
: ghcr.io/catthehacker/ubuntu:full-20.04act
version: 0.2.24Expected behaviour
systemctl start snapd
to workActual behaviour
Workflow and/or repository
Steps to reproduce
Run above code.
act
outputThe text was updated successfully, but these errors were encountered: