How can I install minikube on Mac OS Catalina

烂漫一生 提交于 2020-02-02 06:54:28

问题


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.

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

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

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


回答1:


Minikube is no longer available as a cask.

Change command

brew cask install minikube

to

brew install minikube

or use

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



回答2:


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.

Minikube is no longer available as a cask. You can install it with brew install minikube.

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

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

An Exec format error might indicate that you're trying to execute a file that is not intended to be executed (e.g. a plain text file). Make sure the /bin/minikube file is actually a binary (you can test with file /bin/minikube, it should print 'Mach-O Executable')



来源:https://stackoverflow.com/questions/58670299/how-can-i-install-minikube-on-mac-os-catalina

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!