1

I have just installed docker and I was following the getting started guide but there seems to be some error and I can not figure out what it is I am very new to this and I don't know what to do I have attached the image of the error and docker desktop for your reference.

Docker error

C:\Users\HP>docker run hello-world
docker: error during connect: This error may indicate that the docker daemon is not running.: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/create": open //./pipe/docker_engine: The system cannot find the file specified.
See 'docker run --help'.

desktop

starball
  • 20,030
  • 7
  • 43
  • 238
name__
  • 49
  • 1
  • 1
  • 12
  • Does this answer your question? [Docker forever in "Docker is starting.." at Windows task](https://stackoverflow.com/questions/43041331/docker-forever-in-docker-is-starting-at-windows-task) – Brewal Jan 14 '23 at 02:08

2 Answers2

1

This is the fix that worked for me:

  1. Navigate to %APPDATA%/Roaming/Docker
  2. Open the settings.json file
  3. Update the following lines:
"integratedWslDistros" : [ ]
"enableIntegrationWithDefaultWslDistro" : false,

Link to the original solution I found:

amkuchta
  • 33
  • 8
0

so, it turns out that wsl2 was to be updated I have posted the link a youtube tutorial which helped. https://youtu.be/IMZY0nUYhcg

name__
  • 49
  • 1
  • 1
  • 12