Skip to content
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

exec /init: exec format error #155

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

exec /init: exec format error #155

jerem0808 opened this issue Jan 23, 2024 · 3 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

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

3 participants