can't start minikube in ec2 shows "X Sorry, Kubernetes v1.18.0 requires conntrack to be installed in root's path"
Solution 1
I had the same issue. Install 'conntrack' with
sudo apt install conntrack
Then continue to start your minikube:
sudo minikube start --vm-driver=none
Solution 2
Execute following commands
yum install conntrack
start minikube as root
start --driver=none
Solution 3
TL;DR : update minkikube
You need minkikube
not older than v1.9.0-beta
It's a known issue
There is a known issue #7179 reproduced in 1.18
Fixed in Pull Request #7180, the latest commit is 1273d4f:
install conntrack for github action integration tests #7180
Minimal minikube
ver that contain commit 1273d4f is v1.9.0-beta
:
git clone https://github.com/kubernetes/minikube/
cd minikube
git describe 1273d4f8e756ac5eca89d94c449450fb2da21a5a
>v1.9.0-beta.2-16-g1273d4f8e
Explanation of git describe
Explanation of git describe
is here
The command is useful for cases such as:
- which tag is closest to the commit? (
git describe <sha>
)- which tag contains commit? (
git describe <sha> --contains
)- which branch or annotated tag is closest to the commit? (
git describe <sha>--all
)
Solution 4
On CentOS 7, run following command:
yum install conntrack
And don't forget to have at least 2 (v)CPUs
Solution 5
You need to install conntrack:
apt-get install conntrack -y
and then you can run the minikube start command again
minikube start --vm-driver=none
make sure you do it as a root user or prefix sudo.
Related videos on Youtube
megh
Updated on October 26, 2021Comments
-
megh over 2 years
Hi I am trying to start
minikube
that's why I ranminikube start --vm-driver=none
But it shows in the console the below lines:
minikube v1.9.2 on Amazon 2 (Xen/amd64) Using the none driver based on user configuration X Sorry, Kubernetes v1.18.0 requires conntrack to be installed in root's path
Note that i have installed
kubectl minikube
anddocker
.Please help me to sort out this issues.
-
Alator almost 4 yearsIs there an easy way to upgrade?