minikube icon indicating copy to clipboard operation
minikube copied to clipboard

Create a new Minikube Release (current latest version is broken with latest Docker Desktop for Mac)

Open pre opened this issue 1 year ago • 3 comments
trafficstars

What Happened?

Create a new Minikube Release. Latest release is v1.32.0 from November 2023, and this version does not work with the latest Docker Desktop for Mac (ARM).

Docker Desktop for Mac v4.27.0 changed their amd64/arm64 emulation settings. The latest Docker Desktop version compatible with Minikube is v4.26.1.

There is a fix in

  • https://github.com/kubernetes/minikube/pull/17830

Which is dicussed in https://github.com/kubernetes/minikube/issues/18217

  • https://github.com/kubernetes/minikube/issues/18217

Attach the log file

exec /bin/sh: exec format error

Operating System

macOS (Default)

Driver

Docker

pre avatar Feb 26 '24 11:02 pre

I just ran into this problem. I downloaded the latest minikube-darwin-arm64 and tried the executable but I get a Killed: 9 error. My Docker version is 4.25.0. My computer is a MacBook Pro with Apple M2 Max and Sonoma 14.2.1 OS.

metalcycling avatar Feb 26 '24 15:02 metalcycling

I just ran into this problem. I downloaded the latest minikube-darwin-arm64 and tried the executable but I get a Killed: 9 error. My Docker version is 4.25.0. My computer is a MacBook Pro with Apple M2 Max and Sonoma 14.2.1 OS.

UPDATE: I figured the issue with Killed: 9 was Mac OS blocking the minikube executable from running. After fixing that, it works as intended. I haven't been able to create a cluster yet with Docker 4.27.0 or Docker 4.26.1. Will keep exploring.

metalcycling avatar Feb 26 '24 16:02 metalcycling

@metalcycling unfortunately your issue is separate from this one. Please open another ticket, this one is about exec /bin/sh: exec format error which has a fix merged but there’s no minikube release with it.

pre avatar Feb 26 '24 18:02 pre

same exec format error problem here with minikube & docker on a MacBook Pro M3 Max.

hnsmn avatar Feb 27 '24 17:02 hnsmn

I also have the same exec format error . Works with Docker v4.26.1.

panuvuorinensapcom avatar Mar 19 '24 07:03 panuvuorinensapcom

https://github.com/kubernetes/minikube/releases/tag/v1.33.0-beta.0

afbjorklund avatar Mar 28 '24 17:03 afbjorklund

Initially it seems v1.33.0-beta.0 fixes the issue! I haven't seen the exec format error yet (Docker Desktop for Mac 4.28.0).

pre avatar Mar 31 '24 09:03 pre

Howdy and thanks for the release! 👋🏽 How long does it usually stay in beta?

nevotheless avatar Apr 19 '24 09:04 nevotheless

Since minikube 1.33 has been released this should be resolved, I'll close the issue but if it's not resolved for someone feel free to reopen

spowelljr avatar Jun 05 '24 18:06 spowelljr