Skip to content

exec /init: exec format error #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jerem0808 opened this issue Jan 23, 2024 · 5 comments
Open

exec /init: exec format error #155

jerem0808 opened this issue Jan 23, 2024 · 5 comments

Comments

@jerem0808
Copy link

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
Copy link
Collaborator

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

@jerem0808
Copy link
Author

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

@twelcon
Copy link

twelcon commented May 13, 2024

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

@andrewchen5678
Copy link

andrewchen5678 commented May 6, 2025

I made some tweak to compile the arm64 version on this branch because I need it for linux, I didn't try the mintopia/laravel-echo-server because I can live without websocket real time update: https://github.com/andrewtheguy/webhook.site/tree/1.3-arm64

the resulting docker image is here: https://github.com/orgs/andrewtheguy/packages/container/package/webhooksite

@fredsted
Copy link
Collaborator

fredsted commented May 7, 2025

@andrewchen5678 both our webhook.site and laravel-echo-server images are already arm64

https://hub.docker.com/r/webhooksite/webhook.site/tags
https://hub.docker.com/r/webhooksite/laravel-echo-server/tags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants