跳转到主内容

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

当您创建 Podman machine 时,Podman 会以 rootless 模式创建它。

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

  • 需要 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