1:前置安装了docker环境
2:进入minikube的官网页面,下载命令
https://minikube.sigs.k8s.io/docs/start/
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
minikube kubectl -- get po -A
常见报错:
Docker安全问题报错:
exiting due to drv_as_root: the "docker" driver should not be used with root privileges
解决办法1:
minikube start --force --driver=docker