For Amazon Linux 2
sudo yum install dockerAfter installing, the current user should be added to the docker group to access docker runtime
Note: Make sure not to use root user as minikube doesnt support root user to use docker runtime
sudo groupadd docker
sudo usermod -aG docker $USERNow log back in for the changes to apply and press the below command for changes to apply
newgrp dockerNow we can install minikube with the below command
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-latest.x86_64.rpm
sudo rpm -Uvh minikube-latest.x86_64.rpmWith the above command, we have the minikube installed.
now to start the minikube with docker as the driver, press the below command
minikube start --driver=docker