之前并没有window下安装过Kitematic,今天安装后失败:
日志如下:
C:\Program Files\Docker Toolbox\docker-machine.exe -D create -d virtualbox --virtualbox-memory 2048 default returned non zero exit code. Stderr: Docker Machine Version: 0.5.2 ( 0456b9f ) Found binary path at C:\Program Files\Docker Toolbox\docker-machine-driver-virtualbox.exe Launching plugin server for driver virtualbox Plugin server listening at address 127.0.0.1:52012 () Calling .GetVersion Using API Version 1 () Calling .SetConfigRaw () Calling .GetMachineName (flag-lookup) Calling .GetCreateFlags Making call to close connection to plugin binary Making call to close driver server (flag-lookup) Calling .Close Successfully made call to close driver server Found binary path at C:\Program Files\Docker Toolbox\docker-machine-driver-virtualbox.exe Launching plugin server for driver virtualbox Plugin server listening at address 127.0.0.1:52016 () Calling .GetVersion Using API Version 1 () Calling .SetConfigRaw () Calling .GetMachineName (default) Calling .GetMachineName (default) Calling .DriverName Host already exists: "default"
阿神2017-04-22 09:01:55
1,裝Kitematic時,裝virtualbox了嗎?
2,Windows的Kitematic比較怪,不會去連已經在運作的vb docker 實例。看你日誌最後的.DriverName Host already exists: "default", 是實例已經在運作中了。去打開virtualbox,看到個正在支行的default機器,關了它,或是刪了它。再開Kitematic.
3, 額外的: Windows的Kitematic會先去啟Hyper-V,有些非Server的Windows版本安不了Hyper-V, 也會報個錯,會有兩個按紐,去轉成用virtualbox.