Closed s191k closed 1 year ago
Could you post in English?
WSL2 - Ubuntu-20.04
Rootless driver needs cgroup v2 (and delegation), but cgroup v2 is probably not available for WSL2 Ubuntu 20.04
@AkihiroSuda Hello
Windows 10 environment - [Version 10.0.18362.1082] WSL2 - Ubuntu-20.04
To start minikube, I execute the command - minikube start --memory 2000 --cpus 2 --driver=podman --rootless --container-runtime=containerd
and I get an error from below. As I understand it, minikube is trying to forward port 22
- but I don’t understand what to do with these. Without the --rootless
key, everything takes off.
It is very likely that because of this, minikube itself becomes rootless - there is no access to important ports (including ssh 22).
Tried command minikube config set rootless true
before minikube start
. But as I understand it, with --rootless
there is no difference.
So i should try with wsl2 + Ubuntu 22.04 ?
wsl2 + Ubuntu 22.04
WSL2 doesn't seem officially supporting cgroup2: https://github.com/microsoft/WSL/issues/6662
Probably it is easier to install Ubuntu 22.04 in VirtualBox, VMware, Hyper-V, etc.
Thanks, will try!
Hi @s191k, were you able to resolve the issue based on the comments above?
If not, please feel free to re-open the issue by commenting with /reopen
. This issue will be closed as additional information was unavailable and some time has passed.
Additional information that may be helpful:
Whether the issue occurs with the latest minikube release
The exact minikube start command line used
Attach the full output of minikube logs, run minikube logs --file=logs.txt
to create a log file
Thank you for sharing your experience!
Что произошло?
Окружение Windows 10 - [Version 10.0.18362.1082] WSL2 - Ubuntu-20.04
Для запуска minikube выполняю команду -
minikube start --memory 2000 --cpus 2 --driver=podman --rootless --container-runtime=containerd
и получаю ошибку снизу. Как понимаю minikube пытается прокинуть порт 22 - но что с эти делать не понимаю. Без ключа--rootless
все ок взлетает. Очень похоже что из-за того сам minikube становится rootless - нет доступа к важным портам(ssh 22 в том числе).Задавать эту команду изначально, также пробовал
minikube config set rootless true
. Но я так понимаю с--rootless
никакой разницы нет.Приложите логи
Операционная система
Windows
Драйвер
Podman