2015-08-20 31 views
5

我有麻煩在Mac OS X安裝約塞米蒂多克爾(10.10.4):當我嘗試從泊塢窗工具箱泊塢窗快速啓動終端,我得到這樣的:Faillure推出的OSX優勝美地塢窗

. '/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh' 
bash-3.2$ . '/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh' 

Creating Machine default... 
executing: /usr/local/bin/VBoxManage 
STDOUT: Oracle VM VirtualBox Command Line Management Interface Version 5.0.2 
(C) 2005-2015 Oracle Corporation 
All rights reserved. 

Usage: 

    VBoxManage [<general option>] <command> 

STDERR: 
Creating VirtualBox VM... 
Creating SSH key... 
Creating disk image... 
Creating 20000 MB hard disk image... 
Converting from raw image file="stdin" to file="/Users/arbi/.docker/machine/machines/default/disk.vmdk"... 
Creating dynamic image with size 20971520000 bytes (20000MB)... 
executing: /usr/local/bin/VBoxManage createvm --basefolder /Users/arbi/.docker/machine/machines/default --name default --register 
STDOUT: Virtual machine 'default' is created and registered. 
UUID: e0f2a54b-b11a-47e2-9f3e-450f6fea78c8 
Settings file: '/Users/arbi/.docker/machine/machines/default/default/default.vbox' 

STDERR: 
VM CPUS: 1 
VM Memory: 2048 
executing: /usr/local/bin/VBoxManage modifyvm default --firmware bios --bioslogofadein off --bioslogofadeout off --bioslogodisplaytime 0 --biosbootmenu disabled --ostype Linux26_64 --cpus 1 --memory 2048 --acpi on --ioapic on --rtcuseutc on --natdnshostresolver1 off --natdnsproxy1 off --cpuhotplug off --pae on --hpet on --hwvirtex on --nestedpaging on --largepages on --vtxvpid on --accelerate3d off --boot1 dvd 
STDOUT: 
STDERR: 
executing: /usr/local/bin/VBoxManage modifyvm default --nic1 nat --nictype1 82540EM --cableconnected1 on 
STDOUT: 
STDERR: 
using 192.168.99.1 for dhcp address 
executing: /usr/local/bin/VBoxManage list hostonlyifs 
STDOUT: Name:   vboxnet0 
GUID:   786f6276-656e-4074-8000-0a0027000000 
DHCP:   Disabled 
IPAddress:  192.168.99.1 
NetworkMask:  255.255.255.0 
IPV6Address:  
IPV6NetworkMaskPrefixLength: 0 
HardwareAddress: 0a:00:27:00:00:00 
MediumType:  Ethernet 
Status:   Down 
VBoxNetworkName: HostInterfaceNetworking-vboxnet0 


STDERR: 
executing: /usr/local/bin/VBoxManage modifyvm default --nic2 hostonly --nictype2 82540EM --hostonlyadapter2 vboxnet0 --cableconnected2 on 
STDOUT: 
STDERR: 
executing: /usr/local/bin/VBoxManage storagectl default --name SATA --add sata --hostiocache on 
STDOUT: 
STDERR: 
executing: /usr/local/bin/VBoxManage storageattach default --storagectl  SATA --port 0 --device 0 --type dvddrive --medium /Users/arbi/.docker/machine/machines/default/boot2docker.iso 
STDOUT: 
STDERR: 
executing: /usr/local/bin/VBoxManage storageattach default --storagectl SATA --port 1 --device 0 --type hdd --medium /Users/arbi/.docker/machine/machines/default/disk.vmdk 
STDOUT: 
STDERR: 
executing: /usr/local/bin/VBoxManage guestproperty set default /VirtualBox/GuestAdd/SharedFolders/MountPrefix/
STDOUT: 
STDERR: 
executing: /usr/local/bin/VBoxManage guestproperty set default /VirtualBox/GuestAdd/SharedFolders/MountDir/
STDOUT: 
STDERR: 
executing: /usr/local/bin/VBoxManage sharedfolder add default --name Users --hostpath /Users --automount 
STDOUT: 
STDERR: 
executing: /usr/local/bin/VBoxManage setextradata default VBoxInternal2/SharedFoldersEnableSymlinksCreate/Users 1 
STDOUT: 
STDERR: 
Starting VirtualBox VM... 
executing: /usr/local/bin/VBoxManage showvminfo default --machinereadable 
STDOUT: name="default" 
groups="/" 
ostype="Linux 2.6/3.x/4.x (64-bit)" 
UUID="e0f2a54b-b11a-47e2-9f3e-450f6fea78c8" 
CfgFile="/Users/arbi/.docker/machine/machines/default/default/default.vbox" 
SnapFldr="/Users/arbi/.docker/machine/machines/default/default/Snapshots" 
LogFldr="/Users/arbi/.docker/machine/machines/default/default/Logs" 
hardwareuuid="e0f2a54b-b11a-47e2-9f3e-450f6fea78c8" 
memory=2048 
. . . 
SharedFolderNameMachineMapping1="Users" 
SharedFolderPathMachineMapping1="/Users" 

STDERR: 
using 192.168.99.1 for dhcp address 
executing: /usr/local/bin/VBoxManage list hostonlyifs 
STDOUT: Name:   vboxnet0 
GUID:   786f6276-656e-4074-8000-0a0027000000 
DHCP:   Disabled 
IPAddress:  192.168.99.1 
NetworkMask:  255.255.255.0 
IPV6Address:  
IPV6NetworkMaskPrefixLength: 0 
HardwareAddress: 0a:00:27:00:00:00 
MediumType:  Ethernet 
Status:   Down 
VBoxNetworkName: HostInterfaceNetworking-vboxnet0 


STDERR: 
executing: /usr/local/bin/VBoxManage modifyvm default --nic2 hostonly --nictype2 82540EM --hostonlyadapter2 vboxnet0 --cableconnected2 on 
STDOUT: 
STDERR: 
executing: /usr/local/bin/VBoxManage modifyvm default --natpf1 delete ssh 
STDOUT: 
STDERR: VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value (extended info not available) 
VBoxManage: error: Context: "RemoveRedirect(Bstr(ValueUnion.psz).raw())" at line 1766 of file VBoxManageModifyVM.cpp 

executing: /usr/local/bin/VBoxManage modifyvm default --natpf1 ssh,tcp,127.0.0.1,52532,,22 
STDOUT: 
STDERR: 
executing: /usr/local/bin/VBoxManage startvm default --type headless 
STDOUT: Waiting for VM "default" to power on... 
VM "default" has been successfully started. 

STDERR: 
Error creating machine: exit status 1 
You will want to check the provider to make sure the machine and associated resources were properly removed. 
Starting machine default... 
exit status 1 
Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command. 
Setting environment variables for machine default... 

host is not running 
docker is configured to use the default machine with IP 
For help getting started, check out the docs at https://docs.docker.com 

default is not running. Please start this with docker-machine start default 

當我嘗試手動啓動機器,它未能再次運行:

$ docker-machine create --driver virtualbox default 
Creating VirtualBox VM... 
Creating SSH key... 
Starting VirtualBox VM... 
Error creating machine: exit status 1 
You will want to check the provider to make sure the machine and associated resources were properly removed. 

但是當我打開VirtualBox的,我看到了default機器斷電,如果我嘗試手動啓動它,它失敗,我得到以下錯誤:

Failed to open a session for the virtual machine default. 

Failed to load VMMR0.r0 (VERR_VMM_SMAP_BUT_AC_CLEAR). 

Result Code: NS_ERROR_FAILURE (0x80004005) 
Component: ConsoleWrap 
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed} 

任何想法爲什麼它無法啓動默認機器?

+0

問題顯然與虛擬機有關。你是否分別安裝了virtualbox? –

+0

不確定,因爲我第一次安裝工具箱,然後因爲它沒有工作,我以爲我必須安裝virtualbox,所以我卸載了Docker Toolbox-> Installed VirtualBox->然後重新安裝了Docker工具箱。 – bachr

+0

降級到VirtualBox 4.3也適用於我。我認爲這可能與這個問題有關:https://www.virtualbox.org/ticket/14412 – lpiepiora

回答

5

我不得不降級到VirtualBox 4.3才能使Docker主機成功啓動。

+0

4.3.30(2015年7月10日)爲我工作。謝謝。 – Subfuzion

0

卸載VirtualBox的:

To uninstall VirtualBox, open the disk image (dmg) file again and double-click on the uninstall icon contained therein. 

然後重新安裝泊塢工具箱。

+0

感謝您的提示,我試過這個,但我仍然看到'主機沒有運行',我無法啓動它手動從VirtualBox Gui – bachr

相關問題