docker / machine

Machine management for a container-centric world
https://docs.docker.com/machine/
Apache License 2.0
6.63k stars 1.97k forks source link

Migration of Boot2Docker VM failed. #1762

Open mohan08p opened 9 years ago

mohan08p commented 9 years ago

Migration of Boot2Docker VM failed.

me: VirtualBox Host-Only Ethernet Adapter GUID: abc56de3-1762-46c6-87e6-585da2e4bd61 DHCP: Disabled IPAddress: 192.168.56.1 NetworkMask: 255.255.255.0 IPV6Address: fe80:0000:0000:0000:31d4:eb19:ecac:3976 IPV6NetworkMaskPrefixLength: 64 HardwareAddress: 0a:00:27:00:00:00 MediumType: Ethernet Status: Up VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter

STDERR: executing: C:\Program Files\Oracle\ViError creating machine: exit status 1 You will want to check the provider to make sure the machine and associated resources were properly removed. rtualBox\VBoxManage.exe modifyvm default --nic2 hostonly --nictype2 82540EM --hostonlyadapter2 VirtualBox Host-Only Ethernet Adapter #2 --cableconnected2 on STDOUT: STDERR: executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm default --natpf1 delete ssh STDOUT: STDERR: VBoxManage.exe: error: Code E_INVALIDARG (0x80070057) - One or more arguments are invalid (extended info not available) VBoxManage.exe: error: Context: "RemoveRedirect(Bstr(ValueUnion.psz).raw())" at line 1766 of file VBoxManageModifyVM.cpp

executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm default --natpf1 ssh,tcp,127.0.0.1,52732,,22 STDOUT: STDERR: executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm default --type headless STDOUT: Waiting for VM "default" to power on... VM "default" has been successfully started.

I am not getting why it failed. Please, help me to resolve this. Thanks.

mohanpawary1990@gmail.com

goffi commented 9 years ago

I am seeing the same error when i run the "Docker Quickstart Terminal" on a fresh intstall (Windows 7, 64bit, v1.8.1b)

djx339 commented 9 years ago

I have the same error when i run the command

docker-machine.exe --debug create --driver virtualbox --virtualbox-hostonly-cidr 192.168.56.1/24 dev
courtney-miles commented 8 years ago

I'm also getting this issue with the following commnd:

docker-machine --debug create --driver virtualbox default

The last of the debugging output reads:

(default) DBG | using 192.168.99.12 for dhcp address
(default) DBG | COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe list hostonlyifs
(default) DBG | STDOUT:
(default) DBG | {
(default) DBG | Name:            VirtualBox Host-Only Ethernet Adapter #3
(default) DBG | GUID:            dcec796d-9eaf-42f2-aa40-49b85ded107a
(default) DBG | DHCP:            Disabled
(default) DBG | IPAddress:       192.168.99.1
(default) DBG | NetworkMask:     255.255.255.0
(default) DBG | IPV6Address:     fe80:0000:0000:0000:75e5:9489:6d33:d936
(default) DBG | IPV6NetworkMaskPrefixLength: 64
(default) DBG | HardwareAddress: 0a:00:27:00:00:00
(default) DBG | MediumType:      Ethernet
(default) DBG | Status:          Up
(default) DBG | VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #3
(default) DBG |
(default) DBG | Name:            VirtualBox Host-Only Ethernet Adapter #4
(default) DBG | GUID:            e32caf3e-e8a6-48b4-9bff-4ecf901cf8e0
(default) DBG | DHCP:            Disabled
(default) DBG | IPAddress:       172.17.8.1
(default) DBG | NetworkMask:     255.255.255.0
(default) DBG | IPV6Address:     fe80:0000:0000:0000:14bc:76d8:095f:6bfb
(default) DBG | IPV6NetworkMaskPrefixLength: 64
(default) DBG | HardwareAddress: 0a:00:27:00:00:00
(default) DBG | MediumType:      Ethernet
(default) DBG | Status:          Up
(default) DBG | VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #4
(default) DBG |
(default) DBG | }
(default) DBG | STDERR:
(default) DBG | {
(default) DBG | }
(default) DBG | COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm default --nic2 hostonly --nictype2 82540EM --nicpromisc2 deny --hostonlyadapter2 VirtualBox Host-Only Ethernet Adapter #3 --cableconnected2 on
(default) DBG | STDOUT:
(default) DBG | {
(default) DBG | }
(default) DBG | STDERR:
(default) DBG | {
(default) DBG | }
(default) DBG | COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm default --natpf1 delete ssh
(default) DBG | STDOUT:
(default) DBG | {
(default) DBG | }
(default) DBG | STDERR:
(default) DBG | {
(default) DBG | VBoxManage.exe: error: Code E_INVALIDARG (0x80070057) - One or more arguments are invalid (extended info not available)
(default) DBG | VBoxManage.exe: error: Context: "RemoveRedirect(Bstr(ValueUnion.psz).raw())" at line 1767 of file VBoxManageModifyVM.cpp
(default) DBG | }
(default) DBG | COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm default --natpf1 ssh,tcp,127.0.0.1,59217,,22
(default) DBG | STDOUT:
(default) DBG | {
(default) DBG | }
(default) DBG | STDERR:
(default) DBG | {
(default) DBG | }
(default) DBG | COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm default --type headless
(default) DBG | STDOUT:
(default) DBG | {
(default) DBG | Waiting for VM "default" to power on...
(default) DBG | VM "default" has been successfully started.
(default) DBG | }
(default) DBG | STDERR:
Error creating machine: Error in driver during machine creation: exit status 1

I have tried uninstalling and reinstalling both VirtualBox and Docker... however, I think this might be an issue with VirtualBox and not with Docker. Either way, I'm having trouble finding reliable information on how to correct it.