Docker-Machine : "Error creating machine: exit status 1"
Hello,
I am a new-comer. I am trying to use Docker.But I have some problem. When I click 'Quick Start Terminal', here is the error I am getting:
Starting machine default...
exit status 1
Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
And I re-run the 'docker-machine env default, here is what i am getting:
default is not running. Please start this with docker-machine start default.
And I cat the log in ~/.docker/machine/machines/default/default/Logs/VBox.log:
VirtualBox VM 5.0.2 r102096 darwin.amd64 (Aug 13 2015 18:38:03) release log
00:00:00.022523 Log opened 2015-08-17T13:58:50.429529000Z
00:00:00.022524 Build Type: release
00:00:00.022537 OS Product: Darwin
00:00:00.022543 OS Release: 14.4.0
00:00:00.022548 OS Version: Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64
00:00:00.022643 DMI Product Name: MacBookPro12,1
00:00:00.022696 DMI Product Version: 1.0
00:00:00.022704 Host RAM: 8192MB total, 3446MB available
00:00:00.022705 Executable: /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless
00:00:00.022705 Process ID: 7403
00:00:00.022706 Package type: DARWIN_64BITS_GENERIC
00:00:00.024332 Installed Extension Packs:
00:00:00.024343 None installed!
00:00:00.025363 Console: Machine state changed to 'Starting'
00:00:00.052800 SUP: Loading failed for VMMR0.r0 (/Applications/VirtualBox.app/Contents/MacOS/VMMR0.r0) rc=VERR_VMM_SMAP_BUT_AC_CLEAR
00:00:00.052936 PDMLdr: pdmR3LoadR0U: pszName="VMMR0.r0" rc=VERR_VMM_SMAP_BUT_AC_CLEAR szErr="SUPR3LoadModule: supLoadModule returned VERR_VMM_SMAP_BUT_AC_CLEAR"
00:00:00.052960 VMSetError: /Users/vbox/tinderbox/mac-rel/src/VBox/VMM/VMMR3/VM.cpp(595) int vmR3CreateU(UVM*, uint32_t, int (*)(UVM*, VM*, void*), void*); rc=VERR_VMM_SMAP_BUT_AC_CLEAR
00:00:00.052974 VMSetError: Failed to load VMMR0.r0
00:00:00.053155 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Failed to load VMMR0.r0 (VERR_VMM_SMAP_BUT_AC_CLEAR)}, preserve=false aResultDetail=0
00:00:00.053286 Console: Machine state changed to 'PoweredOff'
00:00:00.055651 Power up failed (vrc=VERR_VMM_SMAP_BUT_AC_CLEAR, rc=NS_ERROR_FAILURE (0X80004005))
I am using macbook pro with yosemite. Docker verison is 1.8.1, build d12ea79. And I use Docker Toolbox.
Please help me to figure this out. Thanks.
I fixed this by uninstalling virtualbox and reinstalling.
@vanrysss I have tried reinstalling virtualbox and Docker Toolbox. But nothing changed.
I believe VirtualBox 5 is incompatible with docker-machine. I solve this issue by installing VirtualBox 4.3
https://www.virtualbox.org/wiki/Download_Old_Builds_4_3
@yanke-guo You are right. I tried VirtualBox 4.3. It works right. It should be a problem of virtualbox 5. Thanks.
This is an issue with virtualbox which is solved in test builds. https://www.virtualbox.org/ticket/14412
I have just installed virtualbox from https://www.virtualbox.org/wiki/Testbuilds and it solved the issue.
@phildav Thank you. I will tried it.
This is an issue for VirtualBox-5.0.2 on Windows-8.1 too. Upgrading to the current VirtualBox-Testbuild (5.0.3) solved the issue too. Thank you for that hint!!!
+1 Works!
:+1: thanks!
Virtualbox test builds as recommended by @phildav worked for me on OSX 10.10.4
I keep getting the problem on OSX 10.10.4 docker-machine version 0.4.1 (e2c88d6) Docker version 1.8.1, build d12ea79 VBoxManage -v 5.0.3r102220 Command: $ docker-machine -D create -d virtualbox --virtualbox-disk-size 2000 dev It hangs at here forever: Daemon not responding yet: dial tcp 192.168.99.100:2376: operation timed out Daemon not responding yet: dial tcp 192.168.99.100:2376: operation timed out Daemon not responding yet: dial tcp 192.168.99.100:2376: operation timed out
It works after rebooting my machine. Thanks @phildav and all.
Having the same issue on OSX 10.10.4 with VB 4.3.30.
@dirkhainc3 Did you reboot your mac?
I had the same problem, and resolved it by starting the virtualbox gui and removing all the VMs, many of which were inaccessible. There were several duplicates, probably artifacts of my repeated install attempts.
@phildav Thank you, save my life
works for me:
- OS X 10.10.5 14F27
- https://www.virtualbox.org/wiki/Download_Old_Builds_5_0
- removing all VMs
@CaptainFeng Yes I did. In fact I didn't get a choice b/c when using VB 4.2.12 it would reproducibly crash my system. I ended up getting further with using the VB test build @phildav pointed out but ended up with contains that did not have a network connection. Right now I completely wiped Docker and VB of my system (for VB this script is really helpful: http://www.virtualbox.org/svn/vbox/trunk/src/VBox/Installer/darwin/DiskImage/VirtualBox_Uninstall.tool ) I will try a clean install of docker-machine and VB 5.0.2. #102096 which has worked for a colleague. If that does not work I will try @step1profit 's suggestion.
I got the same error after installing Docker toolbar yesterday on Windows 8.1 x64. However, I re-ran just to see what happened and it opened up just fine, so I'd recommend running Docker twice and seeing what happens.
@step1profit 's suggestion seems to be the only way to get it to work with 10.10.5 (14F27). Thanks for posting!