Hi!
I have followed the guide2wsl.com section for installing nerdctl in wsl2 and when I came to https://www.guide2wsl.com/nerdctl/#test-containerd-and-nerdctl-client, nerdctl --version was working but nerdctl images doesn't with error:
FATA[0000] rootless containerd not running? (hint: use containerd-rootless-setuptool.sh install to start rootless containerd): stat /mnt/wslg/runtime-dir/containerd-rootless: no such file or directory.
I have tried to execute containerd-rootless-setuptool.sh install but it fail too with:
[ERROR] Needs systemd (systemctl --user)
But I could say it is running:
$ ps -ef | grep systemd
root 1 0 0 09:18 ? 00:00:01 /sbin/init systemd.setenv=WSL_INTEROP=/run/WSL/14_interop systemd.setenv=WSLENV= systemd.setenv=WSL_DISTRO_NAME=Ubuntu-22.04 --unit=multi-user.target
root 60 1 0 09:18 ? 00:00:00 /lib/systemd/systemd-journald
root 76 1 0 09:18 ? 00:00:02 /lib/systemd/systemd-udevd
message+ 136 1 0 09:18 ? 00:00:00 @dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root 185 1 0 09:18 ? 00:00:00 /lib/systemd/systemd-logind
josemar+ 3466 3121 0 17:52 pts/7 00:00:00 grep --color=auto systemd
I know all this stuff is not yours but I would appreciate a lot every help from your side if you can give some idea on how to get nerdctl and, with it containerd runnint in my WSL2 system.
Thank you very much in advance (in case you read this in some moment :-) ).
Hi!
I have followed the guide2wsl.com section for installing nerdctl in wsl2 and when I came to https://www.guide2wsl.com/nerdctl/#test-containerd-and-nerdctl-client, nerdctl --version was working but nerdctl images doesn't with error:
FATA[0000] rootless containerd not running? (hint: use
containerd-rootless-setuptool.sh installto start rootless containerd): stat /mnt/wslg/runtime-dir/containerd-rootless: no such file or directory.I have tried to execute containerd-rootless-setuptool.sh install but it fail too with:
[ERROR] Needs systemd (systemctl --user)
But I could say it is running:
$ ps -ef | grep systemd
root 1 0 0 09:18 ? 00:00:01 /sbin/init systemd.setenv=WSL_INTEROP=/run/WSL/14_interop systemd.setenv=WSLENV= systemd.setenv=WSL_DISTRO_NAME=Ubuntu-22.04 --unit=multi-user.target
root 60 1 0 09:18 ? 00:00:00 /lib/systemd/systemd-journald
root 76 1 0 09:18 ? 00:00:02 /lib/systemd/systemd-udevd
message+ 136 1 0 09:18 ? 00:00:00 @dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root 185 1 0 09:18 ? 00:00:00 /lib/systemd/systemd-logind
josemar+ 3466 3121 0 17:52 pts/7 00:00:00 grep --color=auto systemd
I know all this stuff is not yours but I would appreciate a lot every help from your side if you can give some idea on how to get nerdctl and, with it containerd runnint in my WSL2 system.
Thank you very much in advance (in case you read this in some moment :-) ).