【问题标题】:Error installing hyperkit on HomeBrew in M1 Silicon在 M1 Silicon 中的 HomeBrew 上安装 hyperkit 时出错
【发布时间】:2023-02-17 19:34:52
【问题描述】:

我正在尝试在 MacOS 12.1 M1 Silicon 上安装 hyperkit,但出现以下错误。

 % 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.

通过一些研究,我发现与 M1 硅处理器 M1 Compatibility Issue 不兼容。

有解决方法吗?

我想在 M1 Silicon 上设置 minishift,而 Hyperkit 是 MacOS 上的先决条件。

【问题讨论】:

  • 根据 maintainer comment,hyperkit 将不会在 M1 上提供 Minishift 本身被 CodeReadyContainers 取代,而 CodeReadyContainers 反过来也不适用于 Apple Silicon。目前这是一场等待游戏。
  • 这真是令人失望@Rick
  • 这个案例的好消息:github.com/code-ready/crc/discussions/2988有一个开发预览。会尽快尝试并修改my blog

标签: macos openshift apple-m1 minishift hyperkit


【解决方案1】:

M1 芯片不支持 hyperkit。 尝试使用 Kind 进行虚拟化。

【讨论】:

    【解决方案2】:

    我不知道 minishift,但对于 minikube,qemu 工作正常

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

    【讨论】:

      【解决方案3】:

      显然 hyperkit 不适用于 mac m1/m2。 ARM芯片。

      所以,我使用了qemu

      使用以下命令安装 qemu:

      brew install qemu
      

      跑步

      minikube start --driver=qemu
      

      【讨论】:

        猜你喜欢
        • 2022-08-04
        • 2021-05-08
        • 2021-12-30
        • 2022-01-22
        • 2021-04-21
        • 2022-01-06
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多