docker cannot start on windows

后端 未结 30 2626
北海茫月
北海茫月 2020-12-04 09:17

Executing docker version returns the following results.

C:\\Projects> docker version
Client:
 Version:      1.13.0-dev
 API version:  1.25
 G         


        
30条回答
  •  猫巷女王i
    2020-12-04 10:07

    If you have installed docker on Windows 10 Pro with Hyper-V enabled and you are still not able to run Docker on Windows 10, then, as the error suggests, your docker daemon is not started.

    The following steps helped me to start docker successfully:

    1. Use command on cmd(Admin mode)

      docker-machine restart default
      
    2. Then you'll get a message something like:

      open C:\User\\{User_name}\\.docker\machine\machines\default\config.json:
      The system cannot find the file specified.

    3. Go to the docker icon which will be on your windows tray (bottom right corner of the desktop)

    4. Right click on the docker icon > Settings > Reset > Restart Docker

      It will take few moments

    5. Then you'll see the following message:

      Docker is running with the green indicator

    Note: If you already had Docker containers running on your system, then don't follow these steps. You may lose the existing containers.

提交回复
热议问题