我在“MAC OSX Yosemite 10.10.5”上安装了docker CE及其ToolBox,当我启动“Docker Quickstart终端”时,我收到下面的消息说等待SSH可用并要求输入密码。请提出解决方案,任何答案都将受到高度赞赏。
ps:类似的问题没有帮助,所以请不要将问题标记为重复
Running pre-create checks...
Creating machine...
(default) Copying /Users/macbookpro/.docker/machine/cache/boot2docker.iso to
/Users/macbookpro/.docker/machine/machines/default/boot2docker.iso...
(default) Creating VirtualBox VM...
(default) Creating SSH key...
(default) Starting the VM...
(default) Check network to re-create if needed...
Error creating machine: Error in driver during machine creation: Unable to start the VM: /usr/local/bin/VBoxManage startvm default --type headless failed:
VBoxManage: error: The virtual machine 'default' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
Starting "default"...
(default) Check network to re-create if needed...
Unable to start the VM: /usr/local/bin/VBoxManage startvm default --type headless failed:
VBoxManage: error: The virtual machine 'default' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
Regenerate TLS machine certs? Warning: this is irreversible. (y/n):
Regenerating TLS certificates
Waiting for SSH to be available...
Password:
去发布VirtualBox,检查更新(在左上角,Apple图标旁边),更新VirtualBox然后我解决了这个问题。
ps:我还更改了VirtualBox(默认)设置enter image description here
我遇到了这个问题(在具有VirtualBox旧版本的Mac上安装Docker Toolbox时)。我可以确认卸载VirtualBox为我解决了这个问题。 (除了删除VirtualBox应用程序之外,我还使用https://nektony.com/how-to/uninstall-virtualbox-on-mac中描述的过程手动清理了一些残留目录)。谢谢。