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

识趣 发表于: 2021-10-25   最后更新时间: 2021-10-25 19:35:31   3,167 游览

我通过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运行,我该如何做?

发表于 2021-10-25
minikube start --force --driver=docker
你的答案

查看minikube相关的其他问题或提一个您自己的问题