Docker for Windows starts correctly, the Virtual Switch “DockerNAT” works correctly and my VM Network Adapter gains an IP address
Actual behavior
Docker for Windows attempts to gain an IP address for the VM 60 times and is unable to.
Information
the output of:
DockerDebugInfo.ps1 using Powershell on Windows - I cannot attach this as a file (new member) and it is too large to paste in
host distribution and version - Windows 10 Professional
Steps to reproduce the behavior
Start Docker for Windows
Wait for failure in IP assignment
Here is my Docker for Windows log
[17:43:12.642][Program ][Info ] Version 1.11.1-beta11 (build: 2789)
[17:43:12.646][Program ][Info ] Starting on: 5/11/2016 5:43:12 PM
[17:43:12.650][Program ][Info ] Resources: C:\Program Files\Docker\Docker\Resources
[17:43:12.655][Program ][Info ] OS: Windows 10 Pro
[17:43:12.658][Program ][Info ] Edition: Professional
[17:43:12.661][Program ][Info ] Id: 1511
[17:43:12.664][Program ][Info ] Build: 10586
[17:43:12.667][Program ][Info ] BuildLabName: 10586.212.amd64fre.th2_release_sec.160328-1908
[17:43:12.673][Program ][Info ] Mixpanel Id: 4A956680-D024-4B30-87EC-14F04601D83F
[17:43:12.676][Program ][Info ] Sha1: b0bc231ec0337a84cc1ce50f51df77f9b0f5c993
[17:43:12.679][Program ][Info ] You can send feedback, including this log file, at https://forums.docker.com/c/docker-for-windows
[17:43:12.816][Mixpanel ][Info ] Tracking: appLaunched
[17:43:13.351][Mixpanel ][Info ] Tracking: heartbeat
[17:43:13.355][BackendServer ][Info ] Started
[17:43:13.441][NamedPipeClient][Info ] Sending Version()...
[17:43:13.448][NamedPipeServer][Info ] Version()
[17:43:13.452][NamedPipeServer][Info ] Version done.
[17:43:13.455][NamedPipeClient][Info ] Received response for Version: Version 1.11.1-beta11 (build: 2789)
[17:43:13.459][NamedPipeClient][Info ] Sending CheckInstallation()...
[17:43:13.462][NamedPipeServer][Info ] CheckInstallation()
[17:43:13.466][HyperV ][Info ] Check Hyper-V Windows optional feature
[17:43:13.469][PowerShell ][Info ] Run script...
[17:43:15.118][HyperV ][Info ] Hyper-V Windows feature is enabled
[17:43:15.122][NamedPipeServer][Info ] CheckInstallation done.
[17:43:15.125][NamedPipeClient][Info ] Received response for CheckInstallation:
[17:43:15.128][NamedPipeClient][Info ] Sending CheckHyperVState()...
[17:43:15.131][NamedPipeServer][Info ] CheckHyperVState()
[17:43:15.135][HyperV ][Info ] Check Hyper-V Service State
[17:43:15.141][PowerShell ][Info ] Run script with parameters: -Check True...
[17:43:18.844][HyperV ][Info ] Hyper-V is running and responding
[17:43:18.847][HyperV ][Info ] Hyper-V is running
[17:43:18.849][NamedPipeServer][Info ] CheckHyperVState done.
[17:43:18.852][NamedPipeClient][Info ] Received response for CheckHyperVState:
[17:43:18.898][Authentication ][Info ] Checking token
[17:43:18.933][Authentication ][Info ] Token is valid
[17:43:19.160][NamedPipeClient][Info ] Sending Stop()...
[17:43:19.163][Updater ][Info ] Checking for updates on the Beta channel...
[17:43:19.168][NamedPipeServer][Info ] Stop()
[17:43:19.171][HyperV ][Info ] Stop
[17:43:19.176][PowerShell ][Info ] Run script with parameters: -Stop True...
[17:43:19.620][Updater ][Info ] Found remote version. Version = 1.11.1.2789
[17:43:19.625][Updater ][Info ] Local version is up to date.
[17:43:19.629][Updater ][Info ] Check for update done.
[17:43:19.988][HyperV ][Info ] Kill VM MobyLinuxVM...
[17:43:20.015][HyperV ][Info ] VM MobyLinuxVM is stopped
[17:43:20.023][Firewall ][Info ] Closing ports...
[17:43:20.027][PowerShell ][Info ] Run script...
[17:43:20.737][Firewall ][Info ] Ports are closed
[17:43:20.740][NamedPipeServer][Info ] Stop done.
[17:43:20.742][NamedPipeClient][Info ] Received response for Stop:
[17:43:20.746][NamedPipeClient][Info ] Sending Start(2, 2048)...
[17:43:20.749][NamedPipeServer][Info ] Start(2, 2048)
[17:43:20.753][Firewall ][Info ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe and C:\Program Files\Docker\Docker\DockerForWindows.exe...
[17:43:20.756][PowerShell ][Info ] Run script...
[17:43:21.554][Firewall ][Info ] Ports are opened
[17:43:21.559][HyperV ][Info ] Create
[17:43:21.562][PowerShell ][Info ] Run script with parameters: -Create True -CPUs 2 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\mobylinux.iso...
[17:43:22.211][HyperV ][Info ] Using existing Switch: DockerNAT
[17:43:22.374][HyperV ][Info ] Using existing Switch IP address
[17:43:22.405][HyperV ][Info ] Using existing Net NAT: DockerNAT
[17:43:23.577][HyperV ][Info ] Using existing: MobyLinuxVM
[17:43:23.789][HyperV ][Info ] Setting MobyLinuxVM vm CPUs to 2 and Memory to 2048 MB
[17:43:23.800][Dhcp ][Info ] Dhcp starting on port 67, on interface vEthernet (DockerNAT)...
[17:43:23.845][Dhcp ][Info ] Dhcp started.
[17:43:23.852][Proxy ][Info ] Starting com.docker.proxy
[17:43:23.861][HyperV ][Info ] Start
[17:43:23.867][PowerShell ][Info ] Run script with parameters: -Start True...
[17:43:23.890][Proxy ][Info ] docker proxy (on deprecated port): ready
[17:43:23.894][Proxy ][Info ] poison pill: ready. Will kill ourself if parent process DockerForWindows.exe dies
[17:43:23.899][Proxy ][Info ] dns server: ready
[17:43:23.908][Proxy ][Info ] docker proxy: ready
[17:43:24.396][HyperV ][Info ] Starting VM MobyLinuxVM...
[17:43:25.713][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:26.729][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:27.741][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:29.043][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:30.085][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:31.256][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:32.274][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:33.288][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:34.475][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:35.563][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:36.996][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:38.038][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:39.082][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:40.264][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:41.306][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:42.643][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:43.688][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:44.705][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:45.804][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:46.830][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:47.994][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:49.013][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:50.031][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:51.110][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:52.192][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:53.420][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:54.451][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:55.473][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:56.647][HyperV ][Info ] Wait for the VM to get an IP address
[17:43:57.724][HyperV ][Info ] It's taking too long. Let's restart the VM...
[17:43:57.896][HyperV ][Info ] Shutdown VM MobyLinuxVM...
[17:44:00.112][HyperV ][Info ] VM MobyLinuxVM is stopped
[17:44:00.120][HyperV ][Info ] Starting VM MobyLinuxVM...
[17:44:00.988][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:02.473][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:03.507][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:04.523][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:05.541][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:06.566][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:08.170][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:09.220][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:10.248][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:11.277][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:12.292][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:13.603][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:14.626][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:15.678][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:16.705][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:17.740][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:19.123][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:20.233][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:21.298][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:22.327][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:23.353][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:24.934][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:25.955][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:26.968][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:27.985][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:28.999][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:30.475][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:31.515][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:32.593][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:33.609][HyperV ][Info ] Wait for the VM to get an IP address
[17:44:34.639][NamedPipeServer][Error ] Unable to executeStart: Failed to start VM "MobyLinuxVM": The VM couldn't get an IP address after 60 tries
[17:44:34.644][NamedPipeClient][Error ] Unable to sending Start: Failed to start VM "MobyLinuxVM": The VM couldn't get an IP address after 60 tries
[17:44:34.649][Notifications ][Error ] Error: Failed to start VM "MobyLinuxVM": The VM couldn't get an IP address after 60 tries
[17:44:44.811][Program ][Info ] Sending Bugsnag report 83bb54c7-9586-4d53-988c-bb23c426ca4e ...
[17:44:45.296][Program ][Info ] Bugsnag report sent
I decided it couldn’t hurt to go through the steps again that related to networking. I removed the virtual switches via Powershell, there were no lingering IP addresses, I removed any stale NAT configuration and I have no other VMs running in Hyper-V.
I ran Docker for Windows again and experienced the same behavior as I listed above. Here is my log from this most recent attempt.
[00:45:28.918][Program ][Info ] Version 1.11.1-beta11 (build: 2789)
[00:45:28.922][Program ][Info ] Starting on: 5/16/2016 12:45:28 AM
[00:45:28.925][Program ][Info ] Resources: C:\Program Files\Docker\Docker\Resources
[00:45:28.929][Program ][Info ] OS: Windows 10 Pro
[00:45:28.931][Program ][Info ] Edition: Professional
[00:45:28.934][Program ][Info ] Id: 1511
[00:45:28.936][Program ][Info ] Build: 10586
[00:45:28.938][Program ][Info ] BuildLabName: 10586.306.amd64fre.th2_release_sec.160422-1850
[00:45:28.944][Program ][Info ] Mixpanel Id: 4A956680-D024-4B30-87EC-14F04601D83F
[00:45:28.947][Program ][Info ] Sha1: b0bc231ec0337a84cc1ce50f51df77f9b0f5c993
[00:45:28.950][Program ][Info ] You can send feedback, including this log file, at https://forums.docker.com/c/docker-for-windows
[00:45:29.078][Mixpanel ][Info ] Tracking: appLaunched
[00:45:29.891][Mixpanel ][Info ] Tracking: heartbeat
[00:45:29.894][BackendServer ][Info ] Started
[00:45:30.100][NamedPipeClient][Info ] Sending Version()...
[00:45:30.117][NamedPipeServer][Info ] Version()
[00:45:30.128][NamedPipeServer][Info ] Version done.
[00:45:30.140][NamedPipeClient][Info ] Received response for Version: Version 1.11.1-beta11 (build: 2789)
[00:45:30.156][NamedPipeClient][Info ] Sending CheckInstallation()...
[00:45:30.163][NamedPipeServer][Info ] CheckInstallation()
[00:45:30.171][HyperV ][Info ] Check Hyper-V Windows optional feature
[00:45:30.179][PowerShell ][Info ] Run script...
[00:45:31.708][HyperV ][Info ] Hyper-V Windows feature is enabled
[00:45:31.714][NamedPipeServer][Info ] CheckInstallation done.
[00:45:31.718][NamedPipeClient][Info ] Received response for CheckInstallation:
[00:45:31.724][NamedPipeClient][Info ] Sending CheckHyperVState()...
[00:45:31.728][NamedPipeServer][Info ] CheckHyperVState()
[00:45:31.732][HyperV ][Info ] Check Hyper-V Service State
[00:45:31.738][PowerShell ][Info ] Run script with parameters: -Check True...
[00:45:35.332][HyperV ][Info ] Hyper-V is running and responding
[00:45:35.335][HyperV ][Info ] Hyper-V is running
[00:45:35.337][NamedPipeServer][Info ] CheckHyperVState done.
[00:45:35.339][NamedPipeClient][Info ] Received response for CheckHyperVState:
[00:45:35.376][Authentication ][Info ] Checking token
[00:45:35.410][Authentication ][Info ] Token is valid
[00:45:35.521][NamedPipeClient][Info ] Sending Stop()...
[00:45:35.524][Updater ][Info ] Checking for updates on the Beta channel...
[00:45:35.527][NamedPipeServer][Info ] Stop()
[00:45:35.530][HyperV ][Info ] Stop
[00:45:35.534][PowerShell ][Info ] Run script with parameters: -Stop True...
[00:45:36.270][Updater ][Info ] Found remote version. Version = 1.11.1.2789
[00:45:36.273][Updater ][Info ] Local version is up to date.
[00:45:36.275][HyperV ][Info ] Kill VM MobyLinuxVM...
[00:45:36.279][Updater ][Info ] Check for update done.
[00:45:36.295][HyperV ][Info ] VM MobyLinuxVM is stopped
[00:45:36.301][Firewall ][Info ] Closing ports...
[00:45:36.304][PowerShell ][Info ] Run script...
[00:45:37.091][Firewall ][Info ] Ports are closed
[00:45:37.093][NamedPipeServer][Info ] Stop done.
[00:45:37.096][NamedPipeClient][Info ] Received response for Stop:
[00:45:37.099][NamedPipeClient][Info ] Sending Start(2, 2048)...
[00:45:37.101][NamedPipeServer][Info ] Start(2, 2048)
[00:45:37.105][Firewall ][Info ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe and C:\Program Files\Docker\Docker\DockerForWindows.exe...
[00:45:37.108][PowerShell ][Info ] Run script...
[00:45:37.988][Firewall ][Info ] Ports are opened
[00:45:37.993][HyperV ][Info ] Create
[00:45:37.999][PowerShell ][Info ] Run script with parameters: -Create True -CPUs 2 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\mobylinux.iso...
[00:45:38.585][HyperV ][Info ] Enabled workaround for Build 10586 VMSwitch issue
[00:45:42.625][HyperV ][Info ] Creating Switch: DockerNAT...
[00:45:44.226][HyperV ][Info ] Deleted old IP address
[00:45:44.230][HyperV ][Info ] Switch created.
[00:45:44.478][HyperV ][Info ] Set IP address on switch
[00:45:44.532][HyperV ][Info ] Creating Net NAT: DockerNAT...
[00:45:44.567][HyperV ][Info ] Net NAT created.
[00:45:46.170][HyperV ][Info ] Using existing: MobyLinuxVM
[00:45:46.495][HyperV ][Info ] Setting MobyLinuxVM vm CPUs to 2 and Memory to 2048 MB
[00:45:46.503][Dhcp ][Info ] Dhcp starting on port 67, on interface vEthernet (DockerNAT)...
[00:45:46.547][Dhcp ][Error ] Unable to start the dhcp server: The requested address is not valid in its context. Will retry.
[00:45:47.055][Dhcp ][Error ] Unable to start the dhcp server: The requested address is not valid in its context. Will retry.
[00:45:47.558][Dhcp ][Error ] Unable to start the dhcp server: The requested address is not valid in its context. Will retry.
[00:45:48.066][Dhcp ][Info ] Dhcp started.
[00:45:48.071][Proxy ][Info ] Starting com.docker.proxy
[00:45:48.078][HyperV ][Info ] Start
[00:45:48.082][PowerShell ][Info ] Run script with parameters: -Start True...
[00:45:48.108][Proxy ][Info ] docker proxy (on deprecated port): ready
[00:45:48.112][Proxy ][Info ] dns server: ready
[00:45:48.116][Proxy ][Info ] docker proxy: ready
[00:45:48.119][Proxy ][Info ] poison pill: ready. Will kill ourself if parent process DockerForWindows.exe dies
[00:45:48.689][HyperV ][Info ] Starting VM MobyLinuxVM...
[00:45:49.443][HyperV ][Info ] Wait for the VM to get an IP address
[00:45:50.466][HyperV ][Info ] Wait for the VM to get an IP address
[00:45:51.677][HyperV ][Info ] Wait for the VM to get an IP address
[00:45:52.695][HyperV ][Info ] Wait for the VM to get an IP address
[00:45:53.729][HyperV ][Info ] Wait for the VM to get an IP address
[00:45:54.777][HyperV ][Info ] Wait for the VM to get an IP address
[00:45:55.825][HyperV ][Info ] Wait for the VM to get an IP address
[00:45:57.051][HyperV ][Info ] Wait for the VM to get an IP address
[00:45:58.100][HyperV ][Info ] Wait for the VM to get an IP address
[00:45:59.153][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:00.257][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:01.318][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:02.656][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:03.699][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:04.739][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:05.900][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:06.948][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:08.395][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:09.445][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:10.473][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:11.596][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:12.640][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:14.119][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:15.185][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:16.212][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:17.324][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:18.367][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:19.793][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:20.829][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:21.853][HyperV ][Info ] It's taking too long. Let's restart the VM...
[00:46:22.031][HyperV ][Info ] Shutdown VM MobyLinuxVM...
[00:46:24.096][HyperV ][Info ] VM MobyLinuxVM is stopped
[00:46:24.102][HyperV ][Info ] Starting VM MobyLinuxVM...
[00:46:24.639][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:26.061][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:27.084][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:28.097][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:29.110][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:30.130][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:31.672][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:32.706][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:33.769][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:34.799][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:35.813][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:37.268][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:38.293][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:39.360][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:40.415][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:41.444][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:42.855][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:43.893][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:44.939][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:45.957][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:46.981][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:48.251][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:49.298][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:50.320][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:51.368][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:52.391][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:53.795][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:54.843][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:55.857][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:56.912][HyperV ][Info ] Wait for the VM to get an IP address
[00:46:57.981][NamedPipeServer][Error ] Unable to executeStart: Failed to start VM "MobyLinuxVM": The VM couldn't get an IP address after 60 tries
[00:46:57.990][NamedPipeClient][Error ] Unable to sending Start: Failed to start VM "MobyLinuxVM": The VM couldn't get an IP address after 60 tries
[00:46:58.001][Notifications ][Error ] Error: Failed to start VM "MobyLinuxVM": The VM couldn't get an IP address after 60 tries
[00:47:08.325][Program ][Info ] Sending Bugsnag report eb42d86a-7b3c-487a-91c9-3a35110e0dca ...
[00:47:09.224][Program ][Info ] Bugsnag report sent
Here is some additional information which might be helpful.
I had VirtualBox installed for awhile but removed it when I got the beta invite for Docker for Windows
I have 2 VPNs installed on my machine. Checkpoitnt VPN and OpenVPN.
I am running Windows 10 Pro via bootcamp on a Macbook Pro
Are there any diagnostic commands you would like me to run to see if there is something conflicting with Hyper-V being able to assign an IP address to the Docker container?
I suspect that one or both of the installed VPN softwares are interfering with our networking setup (they tend to configure DHCP/DNS servers even if they are not activated). We are working on a more robust networking solution which should work in these environments. We are getting close and it should be available in one of the next Betas.
@rneugeba Do you think uninstalling my VPN software would prevent this issue from appearing? Is this the type of thing that would be worth my time to manually troubleshoot or is this something that is probably beyond my ability to configure away via settings menus?
Thanks for all the work on this - it’s very exciting and I look forward to when days without containers are distant memories.
I have this same behavior on my box which has Cisco VPN installed, but only when I’m actually connected to the VPN. In case that helps to pinpoint a viable solution to this problem.
Could you try Beta14 released yesterday. It removed the DHCP server completely and switched on VPN mode by default. We’d be very interested to hear if that works for you as we don’t have access to a Cisco VPN setup.
Thanks for the report
Rolf
I just updated to the newest version and Docker was finally able to initialize! Awesome! Thanks to the team for all the work.
Unfortunately I was not able to run all of the examples in the documentation
PS C:\Users\sean> docker version
Client:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Wed Apr 27 00:34:20 2016
OS/Arch: windows/amd64
Server:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 8b63c77
Built: Wed Jun 1 19:32:01 2016
OS/Arch: linux/amd64
PS C:\Users\sean> docker run hello-world
Unable to find image 'hello-world:latest' locally
Pulling repository docker.io/library/hello-world
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Network timed out
while trying to connect to https://index.docker.io/v1/repositories/librar
y/hello-world/images. You may want to check your internet connection or if
you are behind a proxy..
See 'C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help'.
PS C:\Users\sean>
So when I try to run docker run hello-world it cannot connect to any external source. I think this is caused by the fact that the Virtual Switch that is created is set to Internal Only.
I changed the Virtual Switch to External Network and selected my network adapter from the list. I then applied my changes and tried to run docker run hello-world again but the output was the same as above.
PS C:\> docker --version
Docker version 1.11.2, build b9f10c9
The Docker UI says 1.11.2-beta15 (build: 4450)
Here is the error I am seeing when trying to run docker run hello-world
PS C:\> docker run hello-world
Unable to find image 'hello-world:latest' locally
Pulling repository docker.io/library/hello-world
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your internet connection or if you are behind a proxy..
See 'C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help'.
PS C:\>
I saw the changelog for the new version and was hoping the networking/vpn fixes would solve all of this for me, but unfortunately not yet.
I tried running docker login first as mentioned in another thread. Here was the result
e:\dev>docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username: sgwatdh
Password:
Error response from daemon: Get https://index.docker.io/v1/users/: dial tcp: lookup index.docker.io on 192.168.65.1:53: read udp 192.168.65.2:43611->192.168.65.1:53: i/o timeout
I uploaded my diagnostic from the docker UI and it gave me this id 31BCF71F-0192-4841-9F1D-68E04EA392DF/2016-06-14_23-41-41
Are there any diagnostic commands I can run to help provide more information about my environment?
Thanks!
UPDATE-----
I modified my docker settings to use 8.8.8.8 as my DNS and it seems to have fixed things!
e:\dev>docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username: sgwatdh
Password:
Login Succeeded
e:\dev>docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
a9d36faac0fe: Pull complete
Digest: sha256:e52be8ffeeb1f374f440893189cd32f44cb166650e7ab185fa7735b7dc48d619
Status: Downloaded newer image for hello-world:latest
Hello from Docker.
This message shows that your installation appears to be working correctly.
Can anyone explain why this would fix things? Is this a docker issue or an issue with my local environment (OS/network adapter/vpns/router/isp)?
If docker isn’t running and you think you’re having trouble with a new Windows update, download the installer for beta16 from beta.docker.com/docs and install it.
Had this error pop up this morning.
Windows 10 Pro & Hyper V Install (Uninstalled Oracle’s VM before the upgrade)
I do have Cisco’s VPN 5.0.07.0440 Installed (Can’t remove it for work)
Running Docker 1.12.0-rc4-beta20 Build 5579
Solution: Reset to Defaults, (Docker then started)
After Resetting, (no reboot) Reset Docker DNS to 8.8.8.8 to reapply this fix for a different issue with pulling containers.