How do we start the daemon?

前端 未结 4 1371
灰色年华
灰色年华 2021-02-19 13:58

Running docker info from an elevated PowerShell prompt shows this error:

error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.2

4条回答
  •  臣服心动
    2021-02-19 14:39

    If you have installed docker on Windows 10 Pro with Hyper-V enabled and still you are not able to run Docker on Windows 10, then as the error suggests that your docker daemon is not started. Follow following steps it helped me to start docker successfully

    1. Use command on CMD(Admin mode) docker-machine restart default then you will get msg like "open C:\User{User_name}.docker\machine\machines\default\config.json: The system cannot find the file specified."
      Go to the docker icon which will be on your windows tray(Right corner of the desktop). Then Right click on the docker icon -> setting-> Reset -> Restart Docker It will take few moments then you will see the message "Docker is running with the green indicator".
      Note- If you have already had running Docker containers running on your system then don't follow these steps. You may lose the exiting containers.

提交回复
热议问题