unbound_exporter icon indicating copy to clipboard operation
unbound_exporter copied to clipboard

Container image

Open 0dragosh opened this issue 1 year ago • 5 comments

It would be great if we had a container image, hosted on ghcr.io and not docker hub due to the limits.

0dragosh avatar Sep 29 '23 10:09 0dragosh

PR for the base Docker image at #30 .

jpds avatar Oct 31 '23 22:10 jpds

I’m going to update the PR #30 and we will publish a docker image.

mcpherrinm avatar Nov 14 '23 01:11 mcpherrinm

For those who want a published docker image, I made my own available with cyb3rjak3/unbound-exporter or ghcr.io/cyb3r-jak3/unbound-exporter.

Source also happy to make a PR for publishing images in this repo.

Cyb3r-Jak3 avatar Jan 19 '24 17:01 Cyb3r-Jak3

Was there any reason you wrote your own dockerfile and not using the one in this repo?

I haven't had time to set up publishing that publicly yet.

mcpherrinm avatar Jan 19 '24 18:01 mcpherrinm

Couple of reasons I have my own docker file.

  1. Using busybox as the release image means that healthchecks can be supported as wget is already in the image. Also allow for a few more architectures than distroless container.
  2. By cloning the repo, instead of using COPY, I can easily change the version of the unbound exporter used.

Cyb3r-Jak3 avatar Jan 19 '24 18:01 Cyb3r-Jak3