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/

root@apig:/usr/local/minikube# minikube start
* Ubuntu 18.04 上的 minikube v1.23.2
* 自动选择 docker 驱动。其他选项: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.

解决方案:

 minikube start --force --driver=docker
Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐