Open iqHpi opened 1 year ago
I've installed amd64 minikube on M1 MacBook Pro and when I start I get:
minikube start --driver=docker
[1] 6528 segmentation fault minikube start --driver=docker
Same issue,
I am new to kubernetes and I am following a set of tutorials. I wish minikube supported amd64 emulation so I could have just used the images provided by the tutorial 😆
It also makes a lot of sense in development scenarios. I wish minikube supported rosetta vz
pass-through for containers which do not support arm64
. Such as docker run --platform=linux/amd64 my-image:v1
works under an aarch64
virtual machine (let's say colima). When I don't specify platform, vz doesn't work thus image is not working. Emulation is a much better choice for devex.
I'll probably end-up using kind
because my x86-64
docker containers work pretty well under rosetta emulation.
Facing the same issue. Can't run amd64 images in minikube.
Minikube should allow running the node container in emulation.
At least for as long as it takes Kubernetes to update the tutorials...
Installing qemu-user-static
in the minikube container worked for me when using the podman driver on macOS.
minikube ssh "sudo apt-get update && sudo apt-get -y install qemu-user-static"
minikube stop
minikube start
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
/remove-lifecycle rotten
What Happened?
I have installed amd64 minikube on my machine (M1 Mac) using below command -
Then I started the cluster using -
It was able to successfully start a minikube container in docker -
Then, I checked the architecture of the running container and found out it was not amd64.
And, since the minikube container is running as aarch64 I can't run amd64 pods inside it. 😭
It looks like a bug to me, since my amd64 minikube actually tried to download and run an amd64 kickbase image but ended up running the aarch64 one.
Here's my Docker info if that helps -
Attach the log file
Here are the logs.
Operating System
macOS (Default)
Driver
Docker