为什么Docker无法启动或永远启动?

时间:2017-09-06 06:40:40

标签: docker

我在Windows 10上安装了docker,以管理员身份运行它 半小时后它仍处于启动(启动)的过程中 日志看起来像:

    Version: 17.07.0-ce-win26 (13125)
    Channel: edge
    Sha1: 7c2cb3783c478f82e7a09cfbd5933d7b587c9c1e
    Started on: 2017/09/06 09:17:16.119
    Resources: C:\Program Files\Docker\Docker\Resources
    OS: Windows 10 Pro
    Edition: Professional
    Id: 1607
    Build: 14393
    BuildLabName: 14393.1593.amd64fre.rs1_release.170731-1934
    ...


 [09:18:19.619][DockerDaemonChecker][Error  ] Docker daemon is not running
    [09:18:19.658][NamedPipeServer][Error  ] Unable to execute Start: error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.31/containers/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.
        в Docker.Backend.DockerDaemonChecker.Check(Func`1 isDaemonProcessStillRunning) в C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\DockerDaemonChecker.cs:line 63
       в Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.<Register>b__0(Object[] parameters) в C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 47
       в Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) в C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 145
    [09:18:19.674][NamedPipeClient][Error  ] Unable to send Start: error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.31/containers/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

    [09:18:19.674][Notifications  ][Error  ] error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.31/containers/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

    [09:18:19.705][CrashReport    ][Info   ] Preparing package to send with the diagnostics

我正在尝试重新启动,关闭PC,在BIOS中启用虚拟化 你能给我一些解决问题的建议吗?

1 个答案:

答案 0 :(得分:0)

几个星期前,我遇到了类似的问题,我们系统的新用户。 在我的情况下,我忘了将用户添加到 docker-users 组。

我已经拥有的其他问题/解决方案:

  1. 没有足够的内存,docker消耗了一些内存
  2. 坠毁的容器
  3. 阻止本地TCP访问的防火墙或其他工具
  4. %ProgramData%\ Docker \ config \ daemon.json中的错误泊坞窗配置,您可以尝试将其设置为空的json文件({})