Answers for "wsl System has not been booted with systemd as init system"

0

wsl System has not been booted with systemd as init system

Instead of using sudo systemctl start your_app use:
sudo /etc/init.d/your_app start
example:
sudo /etc/init.d/docker start ,
as of right now we do not have systemd in WSL 2.
example:
sudo /etc/init.d/chrony start
Posted by: Guest on July-12-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language