Gitlab runner service is taking to long too set prepare docker executor

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

Running gitlab 18.0.2 with self-hosted gitlab-runne service (18.0.2) in docker with docker volume for config. We started to see longer times for preparations scripts. Example of the same job running in the same runner with different versions:

18.0.2 image

17.10.1 image

Steps to reproduce

Run gitlab-runner 18.0.2 in docker with docker volumes as config and compare with 17

What is the current bug behavior?

Jobs take almost a minute to set the docker executor

What is the expected correct behavior?

Docker executor should be ready in seconds

Edited by 🤖 GitLab Bot 🤖