Hi, I’m using a free account on gitlab.com and I’m trying out CI. Is it possible to have systemd
on free shared runners? I’d like to use solita/ubuntu-systemd (https://hub.docker.com/r/solita/ubuntu-systemd/) image as base image for my runner, but this image is useless if I can’t run it with additional docker flags (such as --privileged
), and I looked into gitlab documentation, and I don’t see any yaml tags to set those additional flags.
For anyone interested, the answer is “it’s not possible”. Runners are configured through config.toml
file. Here is the configuration that shared runners have: https://docs.gitlab.com/ee/user/gitlab_com/#shared-runners
This file cannot be changed for free shared runners. Though, it can be modified for the self hosted runners.