I’ve installed the latest eta channel Docker for Windows (1.13.0-rc2) and trying to get a container up and running but it doesn’t appear to have access to the internet. The command docker run microsoft/nanoserver ping 8.8.8.8 doesn’t get any response.
When switching to Linux containers networking is fine. The host machine is Windows 10 build 14393.479
Thanks, I ran the Debug-ContainerHost.ps1 script and it flagged up an issue with 'Do not have DisableVSmbOplock set' which I fixed but didn’t help.
How do I run the built-in diagnostics? If I try the Diagnose & Feedback item in the system tray app it just tells me there aren’t any settings for Windows containers yet.
I just solved this issue today for myself, it maybe different for you though.
I noticed that the network adapter on Windows (acting as a router to the docker VM) and the docker VM adapter talking to the host machine didn’t have a default gateway.
So I added the IP of my router to the gateway on adapter in Windows that acts as the router for the VM. I rebooted the VM, and docker worked.
This was on my work computer, at home docker in Windows worked with no issues
I had a similar problem, and previously to start to using Hyper-V I had VirtualBox installed in my machine, and the solution for me was disabling the Network Connection used for VB called VirtualBox Host-Only Network. If you won’t use VB in the future you can even delete that Network Connection.
I am having the same issue and ran the given diagnostic command and gives me following can you please help?
I have a VM Win 2016 Data Center hosted on Azure and on that I have created windows Docker container, I need internet access to it so that I can install choclatey\azure RM directly.
Failed to detach network endpoint from Container ‘70530a67adeabd1d5645ff155939f42f07efd13d076b726363d05d7ef3c75562’, network endpoint ID ‘{51CD4C25-670A-4B9D-96DB-4E02027A4860}’: A system shutdown is in progress. (0x8007045B).