不想多说什么,昨天看了许多博客关于安装MiniKube都是失败告终,早上看了看官网,一下子就安装成功了,所以说还是需要多看看官网,毕竟是人家做出来的东西。
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
yum install conntrack
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
echo "1" >/proc/sys/net/bridge/bridge-nf-call-iptables
minikube start --driver=none --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers
照着步骤试试看能不能成功吧,要是成功了记得存储一下快照