prometheus-community / windows_exporter

Prometheus exporter for Windows machines
MIT License
2.84k stars 680 forks source link

unable to pull the image on windows or linux machines #1363

Closed zrankinOCEUS closed 7 months ago

zrankinOCEUS commented 8 months ago

Hello, I'm attempting to pull the image as part of the kube-prometheus-stack, but I am unable to pull the windows exporter on linux and windows machines.

I first attempted to pull the image on a linux machine without much thought and was met with the following error:

latest: Pulling from prometheus-community/windows-exporter no matching manifest for linux/amd64 in the manifest list entries

I tried again using docker on windows but was met with the same error.

I've tried numerous hack-y solutions while attempting to pull this image but none are successful. Is there an auth requirement for this image?

sesoldi commented 7 months ago

Try with the OS/Arch tab:

image

zrankinOCEUS commented 7 months ago

Thanks for the suggestion!

I ended up changing the call for the windows-exporter to an empty image I pushed to a private repository since I wasn't using the windows exporter.

I'll be sure to give this a whirl.

Try with the OS/Arch tab:

image

jkroepke commented 7 months ago

HI,

this expected that you can not pull the image on linux, since its an windows exclusive image.

What the error message on your windows nodes?

Please note that Docker for Windows, refer docs to switch to Windows Container first before loading the image.

In case you try to sync the image to an private registry, you should use other tools instead do docker pull/tag/push. For example skopeo or crane.