Error installing hyperkit on HomeBrew in M1 Silicon
Asked Answered
P

5

18

I'm trying to install hyperkit on MacOS 12.1 M1 Silicon and I get the following error.

 % brew install hyperkit
    Error: hyperkit: no bottle available!
    You can try to install from source with:
      brew install --build-from-source hyperkit
    Please note building from source is unsupported. You will encounter build
    failures with some formulae. If you experience any issues please create pull
    requests instead of asking for help on Homebrew's GitHub, Twitter or any other
    official channels.

With some research I found an incompatibility with M1 Silicon processors M1 Compatibility Issue.

Is there a workaround for this?

I want to setup minishift on M1 Silicon and Hyperkit is a pre-requisite on MacOS.

Paule answered 5/1, 2022 at 7:56 Comment(3)
As per the maintainer comment, hyperkit will not be made available on M1 Minishift itself is superseeded by CodeReadyContainers, which in turn don't work on Apple Silicon yet either. It's a bit of a waiting game currently.Betake
That's really disappointing @RickPaule
Good news for this case: github.com/code-ready/crc/discussions/2988 there's a dev preview. gonna try it out and amend my blog ASAPBetake
P
25

Apparently hyperkit is not available for mac m1/m2. ARM chips.

So, I used qemu.

Install qemu using:

brew install qemu

Run

minikube start --driver=qemu
Pentagon answered 17/2, 2023 at 11:34 Comment(0)
S
4

M1 chip doesn't support hyperkit. Tried virtualization using Kind.

Sian answered 20/5, 2022 at 0:41 Comment(0)
H
2

I don't know about minishift, but for minikube, qemu works fine

https://minikube.sigs.k8s.io/docs/drivers/qemu/

Hunley answered 22/9, 2022 at 14:32 Comment(0)
H
0

I just faced the same issue, so I used qemu as the other answers suggested. But I kept getting the following error:

▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5E0729 10:28:18.355338   33088 start.go:159] Unable to scale down deployment "coredns" in namespace "kube-system" to 1 replica: non-retryable failure while getting "coredns" deployment scale: Get "https://localhost:54481/apis/apps/v1/namespaces/kube-system/deployments/coredns/scale": dial tcp [::1]:54481: connect: connection refused
❗  Enabling 'default-storageclass' returned an error: running callbacks: [Error making standard the default storage class: Error listing StorageClasses: Get "https://localhost:54481/apis/storage.k8s.io/v1/storageclasses": dial tcp [::1]:54481: connect: connection refused]

I switched drivers to docker, and ran minikube start --driver=docker and it worked.

Hilaire answered 29/7, 2024 at 14:47 Comment(0)
B
-1

First do this brew install --cask xcodes then do a brew install minikube

Bruit answered 1/4, 2023 at 15:43 Comment(1)
hyperkit is not supported on Apple Silicon: formulae.brew.sh/formula/hyperkitGarganey

© 2022 - 2025 — McMap. All rights reserved.