I got a new machine and am now using wsl for the first time instead of just ubuntu. I am trying to rebuild one of my projects, but I am unable to build the docker image.
When running docker-compose build
I get the error:
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
I have tried running:
systemctl start docker
But then I get the error:
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Can anyone tell me what im doing wrong , please and thank you.
From WSL you actually want to use Docker from the Windows host: