WSL – Windows Subsystem for Linux

Troubleshooting

[root@minidesk ~]# systemctl status containerd
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

 

Resolved

Add this to your /etc/wsl.conf

[boot]
systemd=true

 

Shutdown your WSL distro (for example: OracleLinux_9_1 in my case)

# Command Prompt
~ wsl --list --running
Windows Subsystem for Linux Distributions:
Ubuntu (Default)
OracleLinux_9_1

~ wsl --shutdown -d OracleLinux_9_1

 

Re-open (to restart your WSL linux, try again

[root@minidesk ~]# systemctl status

 

 

RELATED POSTS
Share the Post: