webhooksite / webhook.site

⚓️ Easily test HTTP webhooks with this handy tool that displays requests instantly.
https://webhook.site
Other
5.13k stars 398 forks source link

exec /init: exec format error #155

Open jerem0808 opened 5 months ago

jerem0808 commented 5 months ago

When i start the webhook pod in my minikube instance the webhook pod is crashing and the only log that I can see is as follows:

exec /init: exec format error
Stream closed EOF for webhook/webhook-b648cd58c-pblc6 (webhook)

Any ideas?

k8s Rev 1.28.3

fredsted commented 5 months ago

Hi there, what OS and processor architecture are you running Minikube on?

jerem0808 commented 5 months ago

Hi it's an Apple Macbook pro 16'' M3 (ARM64)

twelcon commented 2 months ago

So the issue is, the docker image u are creating is for arm architecture but u r trying to run it on amd architecture. U can just user --platform=linux/amd64 in ur docker build command and everything should work fine