0

I am a Windows user trying to run "docker-compose up" command but continue to get the error in title. I am writing this code in Ubuntu using WSL 2.

I have tried everything - from this post to this post - and have made sure I have docker installed correctly. When I run "sudo service docker start" I get "docker: unrecognized service". I'm thinking of switching to Podman (though would prefer not to if can avoid it) to get past having to use the docker daemon- though I can't seem to get this to run in wsl.

Any and all guidance would be appreciated!

1 Answers1

0

This typically means that your Docker Service is not running.

Open RUN and type services.msc, then click OK or hit enter

Search for service named as Docker Desktop Service. Make sure it is running.

You can also set the Docker service to start when you login from Docker Desktop GUI setting panel

Docker Desktop Settings

Kumar Shivam Ray
  • 321
  • 2
  • 10
  • I confirmed that my Docker Desktop Service is indeed running, and I have checked that box you pointed to, but I am getting the same error :( Do I need to check any other boxes in the General settings ie "Use Docker Compose V2" or "expose daemon.."? Appreciate your help! – Kurapika Jun 02 '22 at 22:11