跳转到主内容

为适用于 Linux 的 Windows 子系统 (WSL) 上的 Minikube 配置 Podman

当您创建 Podman machine 时,Podman 会以 rootless(无根)模式创建该 machine。

对于在 WSL 上运行的 Podman machine,Minikube

  • 需要一个 rootful(有根)machine。

因此,请将 Podman machine 设置为 rootful 模式。

步骤

  1. 停止 Podman machine

    $ podman machine stop
  2. 将 Podman machine 设置为 rootful 模式

    $ podman machine set --rootful
  3. 启动 Podman machine

    $ podman machine start