TECHIES WORLD

For Techs.... Techniques.... Technologies....

BashLinux

Minikube Error: Exiting due to DRV_AS_ROOT: The "docker" driver should not be used with root privileges.

Exiting due to DRV_AS_ROOT: The "docker" driver should not be used with root privileges.

Minikube is a smaller form of Kubernates which supports docker containers also.

This error is common while starting the Minikube internally which configured with the docker driver and can be solved the same in few steps.

Step1: Create a new user.

#adduser minikube

Step2: Add User to the Docker Group.

#usermod -aG docker minikube

Step3: Login to the newly created User.

#su - minikube

Step4: Start the Minikube service.

#minikube start --driver=docker

That's all…