What is GitLab Runner?
GitLab meters CI by compute minutes - 400/month on Free, 10,000 on Premium, extra minutes sold per thousand. Jobs on your own runner consume zero quota, which takes CI off GitLab’s meter and onto compute you already run.
This template wraps the official image with a register-on-first-boot entrypoint using the current runner-authentication-token flow (glrt-..., created in the GitLab UI where tags and run-untagged live now; the legacy registration-token flow is deprecated and disabled by default). Registration persists on a volume, so redeploys do not create runner zombies.
It runs the shell executor: jobs execute in this container as the gitlab-runner user, with whatever toolchains you bake into the Dockerfile. That is the supported socket-less mode - and the trust model (jobs share the environment) is stated plainly, per GitLab’s own guidance.
What you get
- Self-registering with the modern glrt- token flow
- Shell executor: the supported no-docker-socket mode
- Config and registration persist across redeploys
- Extend the Dockerfile with your toolchains
- Works with gitlab.com and self-managed GitLab
- Zero compute-minute consumption, forever
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
runner | GitLab Runner, outbound poll to GitLab | no - no ingress needed |
Before you deploy
CI_SERVER_TOKENrunner authentication token (glrt-...) from Settings > CI/CD > Runners > New runner
CI_SERVER_URLhttps://gitlab.com or your self-managed instance
Sizing and billing
The runner process is tiny (~50 MB); jobs are the budget. 2 GiB covers typical builds; raise concurrency only with RAM to match.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 4.98 GiB of volumes cost $0.15 per GiB a month ($0.75/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| GitLab CI/CD | hosted compute | Usage-based | 400 min/mo on Free (10,000 on Premium at $29/user/mo); extra minutes $10 per 1,000 |
Jobs on your own runner consume zero compute-minute quota on any GitLab tier. Prices from each vendor's pricing page, June 2026.
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
How does this compare to GitLab’s hosted minutes?
Free includes 400 compute minutes a month - one active project exhausts that in days - and extra minutes are sold per 1,000. Premium’s 10,000 minutes come bundled with per-user seats. This runner has no minute meter at all - you pay for the compute it reserves.
Why the shell executor instead of docker?
The docker executor needs the Docker socket, which a container on this platform does not have. Shell mode runs jobs directly in this container - GitLab supports it (maintenance mode: security fixes continue), and for trusted-team pipelines it is operationally simpler anyway.
Where did tags and run-untagged settings go?
Server-side: with the glrt- token flow you configure them when creating the runner in the GitLab UI, not at register time. The template’s register call intentionally passes only the URL, token, and executor.
Can jobs build Docker images?
Not with the daemon - use kaniko (runs as an unprivileged container step in shell mode too) or buildah. For everything else - tests, builds, deploys via API - nothing changes.