During the installation of Docker, I tried to run the following command on Ubuntu 20.04.3:
systemctl --now enable docker
but I got the following error message:
System has not been booted with systemd as init system (PID 1). Can’t operate.
Share and learn in the Docker community.
During the installation of Docker, I tried to run the following command on Ubuntu 20.04.3:
systemctl --now enable docker
but I got the following error message:
System has not been booted with systemd as init system (PID 1). Can’t operate.
Looks like you are using wsl2. If thats the case, then use sudo service docker start