我通过minikube start启动minikube时候,报:
X Exiting due to DRV_AS_ROOT: The "docker" driver should not be used with root privileges.
执行详情:
minikube start
* minikube v1.23.2 on Centos 7.9.2009
- KUBECONFIG=/etc/kubernetes/admin.conf
* Automatically selected the docker driver. Other choices: none, ssh
* 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/
X Exiting due to DRV_AS_ROOT: The "docker" driver should not be used with root privileges.
我知道错误的原因是docker不应该使用root运行,可我就想用root运行,我该如何做?
minikube start --force --driver=docker
你的答案