Comments (15)
Same issue here.
Diagnostic: 31B7762B-8EE0-4651-B171-4DEDFF0EEB18/2016-08-01_18-34-31
OS Name: Microsoft Windows 10 Pro
Version: 10.0.10586 Build 10586
Processor: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz, 4001 Mhz, 4 Core(s), 8 Logical Processor(s)
- Also tried with fixed DNS, no success
- Also same results using Beta build
Note(s):
- MobyLinuxVM has IP address of 10.0.75.2, log contains many entries regarding IP address 10.0.75.1
[18:42:20.488][ApiProxy ][Info ] listen tcp 10.0.75.1:53: bind: The requested address is not valid in its context.
[18:42:20.490][ApiProxy ][Info ] Waiting for the port/IP to become available
from for-win.
Hi @cramhead and @nivekastoreth, thanks for the report! Can you tell us:
- If you had to disable HyperV after you installed Docker. For eg. to use VirtualBox.
- What's the output of
Get-NetAdapter "vEthernet (DockerNAT)"
ran in an elevated PowerShell?
If the command shows multiple net adapters, can you try this command before you restart Docker and see if it fixes the issue?
$vmNetAdapter = Get-VMNetworkAdapter -ManagementOS -SwitchName DockerNAT
Get-NetAdapter "vEthernet (DockerNAT)" | ? { $_.DeviceID -ne $vmNetAdapter.DeviceID } | Disable-NetAdapter -Confirm:$False -PassThru | Rename-NetAdapter -NewName "OLD"
from for-win.
Hi. I am experiencing this issue as well. However, I was able to restore it by manually setting up the NAT and then assigning it to the VM's network adapter.
I mainly followed the below guide. It seems that a change was made to Hyper-V in a recent Windows 10 build.
from for-win.
I am getting exactly the same behavior on version 1607 build 14393.10
from for-win.
@dgageot: I started yesterday with virtualbox, hyper-v, docker-machine and docker4windows installed. I've since fully uninstalled all of the above and reinstalled hyper-v and docker4windows.
Windows PowerShell
Copyright (C) 2015 Microsoft Corporation. All rights reserved.
PS C:\WINDOWS\system32> Get-NetAdapter "vEthernet (DockerNAT)"
Name InterfaceDescription ifIndex Status MacAddress LinkSpeed
---- -------------------- ------- ------ ---------- ---------
vEthernet (DockerNAT) Hyper-V Virtual Ethernet Adapter #2 42 Up 00-15-5D-4B-01-22 10 Gbps
vEthernet (DockerNAT) Hyper-V Virtual Ethernet Adapter 20 Disconnected 00-15-5D-4B-01-08 10 Gbps
PS C:\WINDOWS\system32> $vmNetAdapter = Get-VMNetworkAdapter -ManagementOS -SwitchName DockerNAT
PS C:\WINDOWS\system32> Get-NetAdapter "vEthernet (DockerNAT)" | ? { $_.DeviceID -ne $vmNetAdapter.DeviceID } | DisableNetAdapter -Confirm:$False -PassThru | Rename-NetAdapter -NewName "OLD"
Name InterfaceDescription ifIndex Status MacAddress LinkSpeed
---- -------------------- ------- ------ ---------- ---------
OLD Hyper-V Virtual Ethernet Adapter 20 Disabled 00-15-5D-4B-01-08 10 Gbps
PS C:\WINDOWS\system32> Get-NetAdapter "vEthernet (DockerNAT)"
Name InterfaceDescription ifIndex Status MacAddress LinkSpeed
---- -------------------- ------- ------ ---------- ---------
vEthernet (DockerNAT) Hyper-V Virtual Ethernet Adapter #2 42 Up 00-15-5D-4B-01-22 10 Gbps
PS C:\WINDOWS\system32> docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
c04b14da8d14: Pull complete
Digest: sha256:0256e8a36e2070f7bf2d0b0763dbabdd67798512411de4cdcf9431a1feb60fd9
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
As noted above, the suggested elevated powershell command(s) appear to be a valid workaround for me. It has also eliminated the log spam regarding TCP bind failing.
Hope this also works for @cramhead
from for-win.
\o/ Thanks @nivekastoreth, that's what I thought. Will be shipped in next Beta!
from for-win.
@dgageot
I have similar symptoms except I do not have multiple adapters
See 'C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help'.
PS C:\WINDOWS\system32> Get-NetAdapter "vEthernet (DockerNAT)"
Name InterfaceDescription ifIndex Status MacAddress LinkSpeed
vEthernet (DockerNAT) Hyper-V Virtual Ethernet Adapter 28 Up 00-15-5D-63-01-05 10 Gbps
from for-win.
I had multiple adapters that I could not remove, even though I'm a local admin. I renamed them and disabled them.
I only have one DockerNAT and still have the problem.
PS C:\Users\mdentremont> Get-NetAdapter "vEthernet (DockerNAT)"
Name InterfaceDescription ifIndex Status MacAddress LinkSpeed
vEthernet (DockerNAT) Hyper-V Virtual Ethernet Adapter #4 15 Up 00-15-5D-01-83-19 10 Gbps
PS C:\Users\mdentremont> $vmNetAdapter = Get-VMNetworkAdapter -ManagementOS -SwitchName DockerNAT
Get-NetAdapter "vEthernet (DockerNAT)" | ? { $_.DeviceID -ne $vmNetAdapter.DeviceID } | Disable-NetAdapter -Confirm:$False -PassThru | Rename-NetAdapter -NewName "OLD"
Get-VMNetworkAdapter : Hyper-V was unable to find a virtual switch with name "DockerNAT".
At line:1 char:17
- ... NetAdapter = Get-VMNetworkAdapter -ManagementOS -SwitchName DockerNAT
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidArgument: (DockerNAT:String) [Get-VMNetworkAdapter], VirtualizationException
- FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.GetVMNetworkAdapter
Disable-NetAdapter : Access is denied.
At line:2 char:89
- ... ter.DeviceID } | Disable-NetAdapter -Confirm:$False -PassThru | Renam ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : PermissionDenied: (MSFT_NetAdapter...tochannel.net"):ROOT/StandardCimv2/MSFT_NetAdapter) [Dis
able-NetAdapter], CimException - FullyQualifiedErrorId : Windows System Error 5,Disable-NetAdapter
- CategoryInfo : PermissionDenied: (MSFT_NetAdapter...tochannel.net"):ROOT/StandardCimv2/MSFT_NetAdapter) [Dis
from for-win.
I have the same problem: Network timed out while trying to ....
A diagnostic was uploaded with id: 3032F0A7-2367-4488-BCF1-C23EB0A3F2D8/2016-08-03_01-54-04
Windows 10 Pro, only one adapter shown after Get-NetAdapter "vEthernet (DockerNAT)"
I tried already fixed DNS, uninstall/remove Wifi (only ethernet)/re-install, but still the same problem.
This is on my desktop; it works well on my laptop, on the same network.
from for-win.
@cramhead Can you make sure to run the commands in an elevated Powershell? Being a local admin is not enough I'm afraid.
from for-win.
@dgageot Thanks.
Renaming worked well. Is there a way to actually remove them.
I've tested Docker version 1.12.0, build 8eab29e, experimental and the hello-world was downloaded and run with no errors or warnings.
I would think this one closed.
Thanks so much for all your effort.
from for-win.
@cramhead We haven't found a way to remove the adapters via PS, but you can remove them manually via the devmgmt.msc
(aka Device Manager
). You should see them as disabled Hyper-V Virtual Ethernet Adapter
under the Network Adapter
section. Righ-click and select uninstall
should remove the adapter.
from for-win.
That's awesome. Thanks. I had tried to remove them via "Network
Connections", but that option was grayed.
On Thu, Aug 4, 2016 at 2:13 AM, Rolf Neugebauer [email protected]
wrote:
@cramhead https://github.com/cramhead We haven't found a way to remove
the adapters via PS, but you can remove them manually via the devmgmt.msc
(aka Device Manager). You should see them as disabled Hyper-V Virtual
Ethernet Adapter under the Network Adapter section. Righ-click and select
uninstall should remove the adapter.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#16 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAXj8xGlkJ6oEE7mBTrDB57jZhBOorltks5qca1AgaJpZM4JZ-GZ
.
from for-win.
yes, the network connection removal somehow doesn't work but devmgmt.msc
does. The adapters shouldn't be there in the first place but we haven't been able to reliably reproduce it, though many users have them. So it's hard to discuss this with the Windows team.
from for-win.
Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked
from for-win.
Related Issues (20)
- The command 'docker' could not be found in this WSL 2 distro
- Docker switching between user accounts fails ...
- 22h2版本的win10安装Dockers时页面空白
- Upgrade - Can't start Kubernetes - pods seems not to have expected IP HOT 3
- HNS endpoint is not deleted after windows server patching HOT 8
- host.docker.internal doesnt work without --add-host parameter HOT 4
- Turning off Docker Desktop status window update HOT 5
- Auto start doesn't respect compose depends_on
- Permission denied while trying to connect to Docker socket inside container after updating to 4.28.0 HOT 4
- Internal Server Error
- Docker Desktop 4.28.0 not starting on Windows 11 HOT 36
- Container view keeps flashing/updating after upgrade to 4.28.0 HOT 23
- Docker automatically starts even when it is disabled in startup apps on windows 11 machine HOT 1
- WSL update access denied HOT 3
- Cannot mount volumes to SQL Server container running on WSL HOT 1
- DOCKER DESKTOP USE DISK USE TIME
- Strange Host-Mount Behavior with Mounted Docker Socket HOT 5
- 362C24E3-B4E0-4E48-B922-6A6984B92F1F/20240319182739 (An unexpected error was encountered while executing a WSL command)
- Unusual behavior: Docker Desktop triggering right alt key press
- No mount from running container into new container HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from for-win.