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



When starting Minikube as root user, we get the below error:

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

New user creation:

We create a user named Albert


We give him a password:



We add Albert to the docker group:


Newgrp commands overrides the primary group of a user.

Remark:

Docker needs to be already installed on the machine.

We login as Albert, and we check the id




We see that Albert is a member of the docker group.

Starting Minikube:

Then we start Minikube as user "Albert":



Comments

Leave as a comment:

Archive