docker, waiting for SSH to be available

2

I installed docker CE and its ToolBox on "MAC OSX Yosemite 10.10.5", and when I launch the "Docker Quickstart Terminal" I get the message below saying waiting for SSH to be available and asking for a password. Please suggest a solution, any answer will be highly appreciated.

P.S: Similar questions didn't help, so please don't mark the question as a duplicate

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:
macos
docker
ssh
docker-machine
asked on Stack Overflow May 26, 2017 by Zakaria Jaadi • edited Jul 4, 2019 by MLavoie

2 Answers

1

Go to launch VirtualBox, check for updates (at top left, beside the Apple icon), Update VirtualBox then I solved this.

ps: I also changed VirtualBox(default) setting enter image description here

answered on Stack Overflow Sep 1, 2018 by Chris
0

I encountered this issue (when installing Docker Toolbox on a Mac that had an old copy of VirtualBox). I can confirm that uninstalling VirtualBox solved the problem for me. (In addition to deleting the VirtualBox app, I also manually cleaned some residual directories, using the process described in https://nektony.com/how-to/uninstall-virtualbox-on-mac). Thanks.

answered on Stack Overflow Jul 1, 2018 by Neil Brown

User contributions licensed under CC BY-SA 3.0