end0tknr's kipple - web写経開発

太宰府天満宮の狛犬って、妙にカワイイ

DockerToolbox-1.12.0.exe を win7 に installしたら、Docker Quickstart Terminal の実行でerror

https://www.docker.com/products/docker-toolbox

https://github.com/docker/toolbox/releases/download/v1.12.0/DockerToolbox-1.12.0.exe

をinstall後、Docker Quickstart Terminal でerror...

Error creating machine: Error in driver during machine creation: 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:\Us
ers\endo\.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 if machine default exists´..
. Press any key to continue...

↑このように表示されたので、 VBoxHardening.log を覗いてみると、以下の通り。 「Try 'sc.exe query vboxdrv'」らしいので実行してみましたが、原因は特定できず。

23c0.1744: supR3HardenedWinInitAppBin(0x0): '\Device\HarddiskVolume2\Program Files\Oracle\VirtualBox'
23c0.1744: System32:  \Device\HarddiskVolume2\Windows\System32
23c0.1744: WinSxS:    \Device\HarddiskVolume2\Windows\winsxs
23c0.1744: KnownDllPath: C:\Windows\system32
23c0.1744: supR3HardenedVmProcessInit: Opening vboxdrv stub...
23c0.1744: Error opening VBoxDrvStub:  STATUS_OBJECT_NAME_NOT_FOUND
23c0.1744: supR3HardenedWinReadErrorInfoDevice: NtCreateFile -> 0xc0000034
23c0.1744: Error -101 in supR3HardenedWinReSpawn! (enmWhat=3)
23c0.1744: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND (0 retries)

Driver is probably stuck stopping/starting. Try 'sc.exe query vboxdrv' to get more information about its state. Rebooting may actually help.
2438.2818: supR3HardenedWinCheckChild: enmRequest=2 rc=-101 enmWhat=3 supR3HardenedWinReSpawn: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND (0 retries)

Driver is probably stuck stopping/starting. Try 'sc.exe query vboxdrv' to get more information about its state. Rebooting may actually help.
2438.2818: Error -101 in supR3HardenedWinReSpawn! (enmWhat=3)
2438.2818: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND (0 retries)

Driver is probably stuck stopping/starting. Try 'sc.exe query vboxdrv' to get more information about its state. Rebooting may actually help.

DockerToolbox-1.12.0.exe の前に既にinstallしていたvirtual box 5.0.24 のcentosも起動しなくなったので、コントロールパネルから「修復」を実行したら、dockerもvirtualboxも問題なく起動するようになりました。 何だったんでしょうね? f:id:end0tknr:20161004072153p:plain