Self-hosted runners with rootless Docker broken after 2.296.1
See original GitHub issueDescribe the bug We run self-hosted runners with rootless Docker set up.
After 2.296.1 hit, jobs with container:
that worked previously, have now started failing in early stages.
Specifically in “Initializing containers” “Starting job container”.
To Reproduce
Expected behavior
Well, it should work. 😃
Runner Version and Platform
Version of your runner?
2.296.1
OS of the machine running the runner? OSX/Windows/Linux/…
Ubuntu 20.04.4 LTS
What’s not working?
unable to resolve docker endpoint: context "rootless" does not exist
My best guess is that it is trying to talk to the /var/run/docker.sock
instead of the rootless socket of the runner user, but setting DOCKER_HOST
in the jobs does not help as it previously has for some cases such as building a container image within.
Job Log Output
Runner and Worker’s Diagnostic Logs
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
How to enable non-docker actions to access ...
1 Answer. This problem can be solved by running the github actions runner as root, which somewhat reduces security. A better solution is...
Read more >Running Docker Rootless, having issues with ...
So far I have: Installed docker Configured for rootless using rootless bash ... When i attempt to run portainer, using the following command ......
Read more >GitHub Self-Hosted Runners on ECS | by Jean Baudin
In case we want to build a Docker container to run on an ARM64 host, we have to emulate the processor using QEMU....
Read more >Dive into actions-runner-controller (ARC) - YouTube
Actions Runner Controller (ARC) is a Kubernetes operator that orchestrates and scales self-hosted runners for GitHub Actions.
Read more >Blazing fast CI with MicroVMs - Alex Ellis' Blog
I saw an opportunity to fix self-hosted runners for GitHub Actions. ... then the runner can take over that machine since Docker runs...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@hjokunbus I’m unsure whether your issue is related or not, but I suggest opening a new one in any case. Looks a bit different.
And 2.296.2 seems to have fixed our problem, so I’ll close this.
Hello everyone! Is this issue related to this community feedback or should I open/add it to a different one?