Spin OCI based Rootless Containers using CNCF graduated industry standard container runtime containerd and its excellent tool nerdctl on windows via WSL2.

These are a list of links which could be of help to someone and even future me 🙂

> wsl -l -v
> wsl --list --verbose

WSL2 having a real Linux kernel it should be preferred throughout the earlier WSL1. 

> wsl --set-default-version 2

https://docs.microsoft.com/en-us/windows/wsl/install-manual#step-4—download-the-linux-kernel-update-package Ubuntu can be installed from app store on windows
https://wiki.ubuntu.com/WSL more info from ubuntu wiki for wsl https://docs.microsoft.com/en-us/windows/wsl/troubleshooting  common troubleshooting scenarios associated with WSL

Install nerdctl – a docker-compatible cli for containerd 
https://github.com/containerd/nerdctl/releases use the full binary, Includes dependencies such as containerd, runc, and CNI e.g. nerdctl-full-0.18.0-linux-amd64.tar.gz)

systemd issue while running nerdctl ? use systemd genie from github:
https://github.com/arkane-systems/genie for systemd not available as pid1, please use genie
https://github.com/arkane-systems/genie/wiki/Systemd-units-known-to-be-problematic-under-WSL#multipathdservice resolve issues provided individual systemd units fail 

$ wsl genie -s

https://medium.com/geekculture/move-away-from-docker-now-and-utilize-wsl2-systemd-genie-containerd-with-nerdctl-d5f729dcf227 I found this blog accommodating many issues I faced on my office PC. 

https://rootlesscontaine.rs/getting-started/common/  running containers rootless 

See Also:

WSL Architecture : 
As presented in this video by Microsoft Developers The new Windows subsystem for Linux architecture: a deep dive – BRK3068 
This shows how the WSL architecture will improve your development environment with: faster dossier performance speed, Linux dossier access from Windows, full system call compatibility thus better support for Linux applications, and more.

0 0 vote
Article Rating
Notify of
Inline Feedbacks
View all comments