gitlab-runner is not installed in a docker container. OS debian 12
09:21 10 Apr 2026

gitlab-runner is not installed in a docker container. OS debian 12

I am writing the following:

curl -fsSL https://get.docker.com | sh

docker volume create runner01

docker pull gitlab/gitlab-runner:latest

docker run -d --name runner01 --restart always \ -v /srv/gitlab-runner/config:/etc/gitlab-runner \ -v /var/run/docker.sock:/var/run/docker.sock \ gitlab/gitlab-runner:latest

returns an error:

docker: invalid reference format

What am I doing wrong? What is the error?

If possible, write down how to create the runner01 container correctly.

docker debian gitlab-ci-runner