JonasProgrammer / JonasProgrammer/docker-machine-driver-hetzner

Creating ARM instances not possible

Open
#128 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
438
Forks
58
PR merge metrics
No merged PRs in 30d

Description

When trying to create an ARM instance i get following error

ERROR: Error creating machine: Error in driver during machine creation: could not create server: missing image

When using x86 based images everything works fine

To reproduce try creating a server using either cli or in my case autoscaling Gitlab Runnners

"hetzner-api-token=************", 
"hetzner-image=ubuntu-24.04", 
"hetzner-server-type=cax21", 
"hetzner-server-location=nbg1"

Leads to ERROR: Error creating machine: Error in driver during machine creation: could not create server: missing image

"hetzner-server-type=cx22" This works

I also tried specifying the image id from the API e.g. 161547270 (Ubuntu 24.04 on arm) which leads to this error

ERROR: Error creating machine: Error in driver during machine creation: could not create server: image has incompatible architecture (invalid_input)

For context: Im running an autoscaling server for Gitlab runners. The "broker" (The server that autoscales the other servers) runs on x86

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure through the CLI or the autoscaling GitLab Runner path with an Ubuntu 24.04 image, comparing the cax21 ARM server type with the working cx22 type. Check how the driver selects and validates images for each architecture, including the reported image ID. Done means ARM instance creation succeeds while x86 behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go, ubuntu
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.