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.


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":

Brando Sabatini and Ikbal C ©. Powered by Blogger.