Skip to content

Self-hosted runners with rootless Docker broken after 2.296.1 #2103

@quulah

Description

@quulah

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions