在适用于 Linux 的 Windows 子系统 (WSL) 上为 Kind 配置 Podman
当您创建 Podman machine 时,Podman 会以 rootless 模式创建它。
对于在 WSL 上运行的 Podman machine,Kind
- 需要 rootful machine。
因此,请将 Podman machine 设置为 rootful 模式。
步骤
-
停止 Podman machine
$ podman machine stop
-
将 Podman machine 设置为 rootful 模式
$ podman machine set --rootful
-
启动 Podman machine
$ podman machine start