Catalina上安装minikube

Catalina上安装minikube

本文介绍了如何在Mac OS Catalina上安装minikube的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Kubernetes文档中提供的方法无效,并且brew cask从Mac OS Catalina开始似乎不再具有minikube公式.

The provided methods on the Kubernetes documentation don't work and brew cask no longer seems to have the minikube formulae as of Mac OS Catalina.

Error: Cask 'minikube' is unavailable: No Cask with this name exists.

当我使用curl下载它时,它拒绝运行并出现以下错误.

When I download it with curl it refuses to run with the following error.

/bin/minikube: cannot execute binary file: Exec format error

如何在Mac OS Catalina上安装 minikube .还是我必须回滚到莫哈韦沙漠?

How can I install minikube on Mac OS Catalina. Or do I have to rollback to Mojave?

推荐答案

Minikube不再作为cask可用.

Minikube is no longer available as a cask.

更改命令

brew cask install minikube

brew install minikube

或使用

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-darwin-amd64 \
 && sudo install minikube-darwin-amd64 /usr/local/bin/minikube

这篇关于如何在Mac OS Catalina上安装minikube的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 20:20