Skip to content

I'm creating this issue here because I don't know how to contact the author of guide2wsl.com #1

@TheTechOddBug

Description

@TheTechOddBug

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 :-) ).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions