question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Self-hosted runners with rootless Docker broken after 2.296.1

See original GitHub issue

Describe 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:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
quulahcommented, Sep 14, 2022

@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.

0reactions
hjokunbuscommented, Sep 13, 2022

Hello everyone! Is this issue related to this community feedback or should I open/add it to a different one?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found