I add some hyper-v switch for my other virtual machines use and I did not modify the MobyLinuxVM’s settings at all.
Expected behavior
The docker virtual machine not affected.
Actual behavior
[17:30:45.313][Program ][Info ] Version: Version 1.11.0-beta6 (build: 1288)
[17:30:45.321][Program ][Info ] Starting on: 4/8/2016 5:30:45 PM
[17:30:45.321][Program ][Info ] Resources: C:\Program Files\Docker\Docker\Resources
[17:30:45.321][Program ][Info ] OS: Windows 10 Education
[17:30:45.329][Program ][Info ] Edition: Education
[17:30:45.329][Program ][Info ] Id: 1511
[17:30:45.337][Program ][Info ] Build: 10586
[17:30:45.337][Program ][Info ] BuildLabName: 10586.162.amd64fre.th2_release_sec.160223-1728
[17:30:45.337][Program ][Info ] Sha1: c97b76ba9aea72a29cb56ffc0de4e142f33a5999
[17:30:45.345][Program ][Info ] You can send feedback, including this log file, at https://forums.docker.com/c/docker-for-windows
[17:30:45.389][HyperV ][Info ] Checking for Hyper-V Windows optional feature
[17:30:45.397][PowerShell ][Info ] Run script...
[17:30:45.997][HyperV ][Info ] Hyper-V Windows feature is enabled
[17:30:46.421][Authentication ][Info ] Checking token
[17:30:46.637][Authentication ][Info ] Token is valid
[17:30:46.645][Notifications ][Info ] Docker is initializing...
[17:30:46.659][Updater ][Info ] Checking for updates on the Beta channel...
[17:30:46.765][HyperV ][Info ] Creating a virtual machine named MobyLinuxVM
[17:30:46.765][HyperV ][Info ] Checking for Hyper-V Windows optional feature
[17:30:46.773][PowerShell ][Info ] Run script...
[17:30:47.253][HyperV ][Info ] Hyper-V Windows feature is enabled
[17:30:47.261][PowerShell ][Info ] Run script with parameters: -IsoFile C:\Program Files\Docker\Docker\Resources\mobylinux.iso -create True...
[17:30:48.189][Updater ][Info ] Found remote version. Version = 1.11.0.1288
[17:30:48.192][Updater ][Info ] Local version is up to date.
[17:30:48.195][Updater ][Info ] Check for update done.
[17:30:49.675][HyperV ][Info ] Using existing Switch: DockerNAT
[17:30:49.802][HyperV ][Info ] VHD C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx already exists
[17:30:50.932][HyperV ][Info ] Creating VM MobyLinuxVM...
[17:30:52.694][HyperV ][Info ] VM created.
[17:30:52.702][Firewall ][Info ] Opening TCP ports on the firewall for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe...
[17:30:52.702][PowerShell ][Info ] Run script...
[17:30:54.266][Firewall ][Info ] Ports opened
[17:30:54.266][Firewall ][Info ] Opening UDP ports on the firewall for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe...
[17:30:54.274][PowerShell ][Info ] Run script...
[17:30:55.126][Firewall ][Info ] Ports opened
[17:30:55.134][Proxy ][Info ] Starting com.docker.proxy
[17:30:55.142][HyperV ][Info ] Start a virtual machine named MobyLinuxVM
[17:30:55.142][HyperV ][Info ] Checking for Hyper-V Windows optional feature
[17:30:55.142][PowerShell ][Info ] Run script...
[17:30:55.176][Proxy ][Info ] 2016/04/08 17:30:55 dhcp server: ready
[17:30:55.179][Proxy ][Info ] 2016/04/08 17:30:55 dns server: ready
[17:30:55.182][Proxy ][Info ] 2016/04/08 17:30:55 docker proxy: ready
[17:30:55.185][Proxy ][Info ] 2016/04/08 17:30:55 docker proxy (on deprecated port): ready
[17:30:55.570][HyperV ][Info ] Hyper-V Windows feature is enabled
[17:30:55.573][PowerShell ][Info ] Run script with parameters: -start True -Credential System.Management.Automation.PSCredential...
[17:30:56.887][HyperV ][Info ] Starting VM MobyLinuxVM...
[17:30:56.891][HyperV ][Info ] Removing (potentially) existing mount authentication token
[17:30:57.363][HyperV ][Info ] Wait for the VM to get an IP address
[17:30:58.580][HyperV ][Info ] Wait for the VM to get an IP address
[17:30:59.599][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:00.239][Proxy ][Info ] 2016/04/08 17:31:00 Discover
[17:31:00.647][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:01.300][Proxy ][Info ] 2016/04/08 17:31:01 Discover
[17:31:01.679][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:02.539][Proxy ][Info ] 2016/04/08 17:31:02 Discover
[17:31:02.793][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:03.599][Proxy ][Info ] 2016/04/08 17:31:03 Discover
[17:31:04.005][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:04.659][Proxy ][Info ] 2016/04/08 17:31:04 Discover
[17:31:05.040][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:06.056][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:07.079][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:08.132][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:09.364][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:10.134][Proxy ][Info ] 2016/04/08 17:31:10 Inform
[17:31:10.379][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:11.429][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:12.446][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:13.546][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:13.941][Proxy ][Info ] 2016/04/08 17:31:13 Inform
[17:31:14.783][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:15.800][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:16.816][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:17.866][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:18.946][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:20.167][Proxy ][Info ] 2016/04/08 17:31:20 Inform
[17:31:20.191][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:21.230][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:22.260][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:23.298][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:24.350][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:25.579][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:26.620][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:27.661][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:28.684][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:29.746][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:30.974][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:32.013][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:33.029][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:34.053][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:35.114][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:36.345][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:37.372][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:38.411][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:39.431][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:40.506][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:41.768][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:42.811][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:43.844][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:44.865][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:45.939][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:47.185][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:48.206][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:49.230][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:50.248][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:51.309][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:52.566][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:53.594][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:54.620][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:55.653][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:56.711][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:58.030][HyperV ][Info ] Wait for the VM to get an IP address
[17:31:58.998][Proxy ][Info ] 2016/04/08 17:31:58 Inform
[17:31:59.048][HyperV ][Info ] Wait for the VM to get an IP address
[17:32:00.065][HyperV ][Info ] Wait for the VM to get an IP address
[17:32:01.144][Notifications ][Error ] Error: Failed to start VM "MobyLinuxVM": The VM couldn't get an IP address after 60 tries
[17:32:01.308][PowerShell ][Info ] Run script...
[17:32:01.450][Program ][Info ] Sending Bugsnag report...
[17:32:03.120][Proxy ][Info ] 2016/04/08 17:32:03 Inform
[17:32:03.471][Program ][Info ] Bugsnag report sent
[17:32:12.782][Proxy ][Info ] 2016/04/08 17:32:12 Inform
[17:32:17.569][Proxy ][Info ] 2016/04/08 17:32:17 Inform
[17:32:20.450][Proxy ][Info ] 2016/04/08 17:32:20 Inform
[17:32:20.539][Proxy ][Info ] 2016/04/08 17:32:20 Inform
Steps to reproduce the behavior
- open hyper v manager
- add virtual switch for outside network, which use my host Ethernet adapter’s sharing network.
- docker machine cannot be connected
- exit docker and reopen it, it says VM cannot get IP address