Tag Archives: 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.

Execution error:

[root@zhangpeilei ~]# minikube start --driver=docker
😄  minikube v1.22.0 on Centos 7.8.2003 (amd64)
✨  Using the docker driver based on user configuration
🛑  The "docker" driver should not be used with root privileges.
💡  If you are running minikube within a VM, consider using --driver=none:
📘    https://minikube.sigs.k8s.io/docs/reference/drivers/none/

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

Solution:

[root@zhangpeilei ~]# minikube start --force --driver=docker