win10 docker初始化时报错:

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:\\Users\\hjw\\.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...

试了各种方法后发现是 VirtualBox 版本太低。

直接进入 VirtualBox 检查更新,会直接给一个链接。

这是我当时的最新版本

下载安装后正常启动。