win7 重装 docker 启动后无法启动错误解决

原文链接: http://www.cnblogs.com/GYY2046/p/8194500.html

描述  

  win7 重新安装Docker 后启动  Docker Quickstart Terminal 出现如下错误

  Starting "default"... (default) Check network to re-create if needed... Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm default --type headless failed: VBoxManage.exe: error: The virtual machine 'default' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\napas\.docker\machine\machines\default\default\Logs\VBoxHardening.log VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine Looks like something went wrong in step ´Checking status on default´... Press any key to continue...

  根据信息查 C:\Users\napas\.docker\machine\machines\default\default\Logs\VBoxHardening.log 日志得到如下信息:

  NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034 STATUS_OBJECT_NAME_NOT_FOUND (0 retries)

  控制台执行 sc.exe query vboxdrv 得到如下信息: 

  SERVICE_NAME: vboxdrv
  TYPE : 1 KERNEL_DRIVER
  STATE : 1 STOPPED
  WIN32_EXIT_CODE : 2 (0x2)
  SERVICE_EXIT_CODE : 0 (0x0)
  CHECKPOINT : 0x0
  WAIT_HINT : 0x0

解决

  1.到C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv 此目录下,右键VBoxDrv.inf 点击安装

  2.控制台 执行sc start vboxdrv  得到如下信息

  SERVICE_NAME: vboxdrv
  TYPE : 1 KERNEL_DRIVER
  STATE : 4 RUNNING
  (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
  WIN32_EXIT_CODE : 0 (0x0)
  SERVICE_EXIT_CODE : 0 (0x0)
  CHECKPOINT : 0x0
  WAIT_HINT : 0x0
  PID : 0
  FLAGS 

  3.重新启动 Docker Quickstart Terminal 成功运行

  

转载于:https://www.cnblogs.com/GYY2046/p/8194500.html

你可能感兴趣的:(win7 重装 docker 启动后无法启动错误解决)