JonasProgrammer / JonasProgrammer/docker-machine-driver-hetzner
OS-image list paging
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 438
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
Hi @JonasProgrammer
I wasn’t able to set the OS to ubuntu-24.04 in the node driver, and did a little research. It looks like the driver listening of the images should be updated as following:
Our API implements pagination as mentioned in our docs at: https://docs.hetzner.cloud/#pagination
You can see the full list of images by specifying either the page or the number of results.
For example:
curl -H "Authorization: Bearer $HCLOUD_TOKEN" "https://api.hetzner.cloud/v1/images?per_page=50"
that’s what hetzner support replied to my question.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the node driver's image-listing entry point and compare its request behavior with the Hetzner API pagination documentation linked in the issue. Confirm that pagination is handled so images such as ubuntu-24.04 appear in the complete list, then verify the driver can select that image.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- api, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100