Skip to content
Autoscale gitlab ci runners on hetzner cloud
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile Link to official gitlab docs for setup Mar 30, 2019

Gitlab ci runner with hetzner docker machine plugin

Run your ci jobs on Hetzner cloud with the help of gitlab ci and the docker-machine-driver-hetzner. You can follow the official gitlab docs for configuring the gitlab ci runner with docker machine, just use this image as a drop in replacement for gitlab/gitlab-runner. See the example config.toml below for the hetzner specific docker machine options.


Use this image instead of the gitlab/gitlab-runner image and set MachineDriver to hetzner in your runner configuration.

Example config.toml:

concurrent = 1
check_interval = 0

  session_timeout = 1800

  name = "docker-machine"
  url = ""
  token = "your-token"
  executor = "docker+machine"
    tls_verify = false
    image = "docker:latest"
    privileged = true
    disable_cache = false
    volumes = ["/cache"]
    shm_size = 536870912
    IdleCount = 0
    IdleTime = 1800
    MaxBuilds = 10
    MachineDriver = "hetzner"
    MachineName = "runner-%s"
    MachineOptions = [


Currently this image is build using the gitlab/gitlab-runner:latest image and the latest docker-machine hetzner plugin. If you need builds for another version feel free to open an PR.



You can’t perform that action at this time.