Install Docker engine (tested with v20.10.17) and Gitlab runner (tested with v15.2.1) as described here and here.
Identify the UID of the gitlab-runner
user.
$ id gitlab-runner
uid=999(gitlab-runner) gid=998(gitlab-runner) groups=998(gitlab-runner)