10

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.

Charith Jayasanka
  • 4,033
  • 31
  • 42
  • 2
    As per the [maintainer comment](https://github.com/moby/hyperkit/issues/310#issuecomment-1003707160), 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. – Rick Rackow Jan 27 '22 at 15:22
  • 1
    That's really disappointing @Rick – Charith Jayasanka Jan 27 '22 at 20:50
  • 1
    Good news for this case: https://github.com/code-ready/crc/discussions/2988 there's a dev preview. gonna try it out and amend [my blog](https://yelling.cloud/posts/openshift_apple_silicon/) ASAP – Rick Rackow Feb 07 '22 at 15:29

4 Answers4

5

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
Nisarg Gogate
  • 71
  • 1
  • 3
4

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

2

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

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

Calahad
  • 1,408
  • 14
  • 22
0

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