Error: Failed to create Switch "DockerNAT": The parameter is incorrect

Expected behavior

Trying to get a installation to complete successfully

Actual behavior

Now the VM doesn’t even get created

Information

  • the output of:

PS C:\Program Files\Docker\Docker\resources> .\DockerDebugInfo.ps1 [abbreviated due to 32000 character limitation]

OS Version

SystemDirectory : C:\WINDOWS\system32
Organization :
BuildNumber : 10586
RegisteredUser : Win7 HP
SerialNumber : 00330-80000-00000-AA565
Version : 10.0.10586

Installed Files

Directory: C:\Program Files\Docker\Docker

Mode LastWriteTime Length Name


d----- 5/5/2016 1:38 PM resources

Installed Resources
Get-VMHost

LogicalProcessorCount : 8
ResourceMeteringSaveInterval : 01:00:00
HostNumaStatus : {MY8470}
NumaStatus : {}
IovSupport : False
IovSupportReasons : {SR-IOV is not supported on this version of Windows.}
InternalNetworkAdapters :
ExternalNetworkAdapters : {}
SupportedVmVersions : {5.0, 6.2, 7.0}
SecureBootTemplates : {MicrosoftWindows, MicrosoftUEFICertificateAuthority}
EnableEnhancedSessionMode : True
FibreChannelWwnn : C003FF0000FFFF00
FibreChannelWwpnMaximum : C003FF2AE6DCFFFF
FibreChannelWwpnMinimum : C003FF2AE6DC0000
MacAddressMaximum : 00155D4B01FF
MacAddressMinimum : 00155D4B0100
NumaSpanningEnabled : True
VirtualHardDiskPath : C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks
VirtualMachinePath : C:\ProgramData\Microsoft\Windows\Hyper-V
FullyQualifiedDomainName : WORKGROUP
MemoryCapacity : 17109315584
Name : MY8470
MaximumStorageMigrations : 2
MaximumVirtualMachineMigrations : 2
UseAnyNetworkForMigration : False
VirtualMachineMigrationAuthenticationType : CredSSP
VirtualMachineMigrationEnabled : False
VirtualMachineMigrationPerformanceOption : TCPIP
CimSession : CimSession: .
ComputerName : MY8470
IsDeleted : False

Get-Process

Services

Image Name PID Services
========================= ======== ============================================
svchost.exe 996 BrokerInfrastructure, DcomLaunch, LSM,
PlugPlay, Power, SystemEventsBroker
svchost.exe 116 RpcEptMapper, RpcSs
svchost.exe 580 Appinfo, BITS, Browser, DoSvc, gpsvc,
iphlpsvc, LanmanServer, lfsvc, NetSetupSvc,
ProfSvc, Schedule, SENS, ShellHWDetection,
Themes, UserManager, Winmgmt, wuauserv
svchost.exe 120 AudioEndpointBuilder, CscService,
DeviceAssociationService, hidserv, HvHost,
NcbService, PcaSvc, SensorService, SysMain,
TrkWks, WlanSvc, wudfsvc
svchost.exe 1260 Audiosrv, Dhcp, EventLog,
HomeGroupProvider, lmhosts, Wcmsvc, wscsvc
svchost.exe 1268 FDResPub, SensrSvc, SSDPSRV, TimeBroker,
wcncsvc
svchost.exe 1368 bthserv, EventSystem, fdPHost, FontCache,
netprofm, nsi, W32Time, WdiServiceHost,
WinHttpAutoProxySvc
svchost.exe 1472 BFE, CoreMessagingRegistrar, DPS, MpsSvc,
NcdAutoSetup
svchost.exe 1684 CryptSvc, Dnscache, LanmanWorkstation,
NlaSvc
svchost.exe 2616 DiagTrack
svchost.exe 2628 W3SVC, WAS
svchost.exe 2696 StateRepository, tiledatamodelsvc
svchost.exe 2848 stisvc
svchost.exe 3020 AppHostSvc
svchost.exe 5620 PolicyAgent
svchost.exe 7472 N/A

Get-VM

Get-VMComPort

Get-VMDvdDrive

Get-VMIntegrationService

Get-VMMemory

Get-VMProcessor

Get-VMScsiController

Get-VMSecurity

Get-VMSwitch

Name : DockerNAT
Id : 0008a682-126a-4295-8a3b-ea0e72271214
Notes :
Extensions : {Microsoft Windows Filtering Platform, Microsoft NDIS Capture}
BandwidthReservationMode : Absolute
PacketDirectEnabled : False
EmbeddedTeamingEnabled : False
IovEnabled : False
NATSubnetAddress :
SwitchType : Internal
AllowManagementOS : True
NetAdapterInterfaceDescription :
NetAdapterInterfaceDescriptions :
IovSupport : False
IovSupportReasons :
AvailableIPSecSA : 0
NumberIPSecSAAllocated : 0
AvailableVMQueues : 0
NumberVmqAllocated : 0
IovQueuePairCount : 0
IovQueuePairsInUse : 0
IovVirtualFunctionCount : 0
IovVirtualFunctionsInUse : 0
PacketDirectInUse : False
BandwidthPercentage : 0
DefaultFlowMinimumBandwidthAbsolute : 0
DefaultFlowMinimumBandwidthWeight : 0
CimSession : CimSession: .
ComputerName : MY8470
IsDeleted : False

Get-VMSwitchExtension

Id : E7C3B2F0-F3C5-48DF-AF2B-10FED6D72E7A
Name : Microsoft Windows Filtering Platform
Vendor : Microsoft
Version : 10.0.10586.212
ExtensionType : Filter
ParentExtensionId :
ParentExtensionName :
SwitchId : 0008a682-126a-4295-8a3b-ea0e72271214
SwitchName : DockerNAT
Enabled : False
Running : True
CimSession : CimSession: .
ComputerName : MY8470
IsDeleted : False

Id : EA24CD6C-D17A-4348-9190-09F0D5BE83DD
Name : Microsoft NDIS Capture
Vendor : Microsoft
Version : 10.0.10586.0
ExtensionType : Monitoring
ParentExtensionId :
ParentExtensionName :
SwitchId : 0008a682-126a-4295-8a3b-ea0e72271214
SwitchName : DockerNAT
Enabled : False
Running : True
CimSession : CimSession: .
ComputerName : MY8470
IsDeleted : False

SwitchName : DockerNAT
Name : Ethernet Switch Bandwidth data
Id : 8f425906-034d-42ab-bd16-edb31cec55ef
ExtensionId : 11EC6134-128A-4A23-B12F-164184B48348
ExtensionName : Microsoft Virtual Ethernet Switch Native Extension
Data : @{Capacity=10000000000; Caption=Ethernet Switch Bandwidth data;
CreationClassName=Msvm_EthernetSwitchBandwidthData; DefaultFlowReservation=0;
DefaultFlowReservationPercentage=0; DefaultFlowWeight=0; Description=Represents the switch bandwidth
resource status.; ElementName=Ethernet Switch Bandwidth data; InstanceID=;
Name=00000000-0000-0000-0000-000000000000; Reservation=0;
SystemCreationClassName=Msvm_VirtualEthernetSwitch; SystemName=0008A682-126A-4295-8A3B-EA0E72271214}
CimSession : CimSession: .
ComputerName : MY8470
IsDeleted : False

SwitchName : DockerNAT
Name : Ethernet Switch Modes Supported
Id : 1d18cdcf-209e-4172-875d-6d208a0a8375
ExtensionId : 11EC6134-128A-4A23-B12F-164184B48348
ExtensionName : Microsoft Virtual Ethernet Switch Native Extension
Data : @{Caption=Ethernet Switch Modes Supported ; CreationClassName=Msvm_EthernetSwitchOperationalData;
CurrentSwitchingMode=1; Description=Represents switch operational parameters.; ElementName=Ethernet
Switch Modes Supported ; InstanceID=; Name=00000000-0000-0000-0000-000000000000;
SupportedSwitchingModes=System.UInt32; SystemCreationClassName=Msvm_VirtualEthernetSwitch;
SystemName=0008A682-126A-4295-8A3B-EA0E72271214}
CimSession : CimSession: .
ComputerName : MY8470
IsDeleted : False

SwitchName : DockerNAT
Name : Ethernet Switch Offload Resource Status
Id : 1c37e01c-0cd6-496f-9076-90c131033dc2
ExtensionId : 11EC6134-128A-4A23-B12F-164184B48348
ExtensionName : Microsoft Virtual Ethernet Switch Native Extension
Data : @{Caption=Ethernet Switch Offload Resource Status;
CreationClassName=Msvm_EthernetSwitchHardwareOffloadData; Description=Represents the switch hardware
offload status.; ElementName=Ethernet Switch Offload Resource Status; InstanceID=;
IovQueuePairCapacity=0; IovQueuePairUsage=0; IovVfCapacity=0; IovVfUsage=0; IPsecSACapacity=0;
IPsecSAUsage=0; Name=00000000-0000-0000-0000-000000000000; PacketDirectInUse=False;
SystemCreationClassName=Msvm_VirtualEthernetSwitch; SystemName=0008A682-126A-4295-8A3B-EA0E72271214;
VmqCapacity=0; VmqUsage=0}
CimSession : CimSession: .
ComputerName : MY8470
IsDeleted : False

Get-VMNetworkAdapter

Get-NetNAT

Name : vEthernet (DockerNAT)
ExternalIPInterfaceAddressPrefix :
InternalIPInterfaceAddressPrefix : 10.0.75.0/24
IcmpQueryTimeout : 30
TcpEstablishedConnectionTimeout : 1800
TcpTransientConnectionTimeout : 120
TcpFilteringBehavior : AddressDependentFiltering
UdpFilteringBehavior : AddressDependentFiltering
UdpIdleSessionTimeout : 120
UdpInboundRefresh : False
Store : Local
Active : True

Get-NetIPAddress

IPAddress : fe80::ffff:ffff:fffe%6
InterfaceIndex : 6
InterfaceAlias : Teredo Tunneling Pseudo-Interface
AddressFamily : IPv6
Type : Unicast
PrefixLength : 64
PrefixOrigin : WellKnown
SuffixOrigin : Link
AddressState : Deprecated
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : fe80::c7a:ce94:62f:5e4a%7
InterfaceIndex : 7
InterfaceAlias : Local Area Connection
AddressFamily : IPv6
Type : Unicast
PrefixLength : 64
PrefixOrigin : WellKnown
SuffixOrigin : Link
AddressState : Deprecated
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : fe80::b4c3:df33:f5cb:dcfb%47
InterfaceIndex : 47
InterfaceAlias : vEthernet (DockerNAT)
AddressFamily : IPv6
Type : Unicast
PrefixLength : 64
PrefixOrigin : WellKnown
SuffixOrigin : Link
AddressState : Preferred
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : fe80::5efe:10.0.75.1%2
InterfaceIndex : 2
InterfaceAlias : isatap.{58037CEC-D2B1-47E7-AB80-EC6DC24E6C0A}
AddressFamily : IPv6
Type : Unicast
PrefixLength : 128
PrefixOrigin : WellKnown
SuffixOrigin : Link
AddressState : Deprecated
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : fe80::b196:807b:19fa:6f23%12
InterfaceIndex : 12
InterfaceAlias : vEthernet (External Wired Switch)
AddressFamily : IPv6
Type : Unicast
PrefixLength : 64
PrefixOrigin : WellKnown
SuffixOrigin : Link
AddressState : Deprecated
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : fe80::5efe:192.168.19.128%4
InterfaceIndex : 4
InterfaceAlias : isatap.{776EF65C-9BF4-4CD4-BCD8-4089EE61730E}
AddressFamily : IPv6
Type : Unicast
PrefixLength : 128
PrefixOrigin : WellKnown
SuffixOrigin : Link
AddressState : Deprecated
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : fe80::a534:6b3:6b44:1f69%8
InterfaceIndex : 8
InterfaceAlias : Local Area Connection* 4
AddressFamily : IPv6
Type : Unicast
PrefixLength : 64
PrefixOrigin : WellKnown
SuffixOrigin : Link
AddressState : Deprecated
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : fe80::dd58:d58c:455e:9713%11
InterfaceIndex : 11
InterfaceAlias : Bluetooth Network Connection
AddressFamily : IPv6
Type : Unicast
PrefixLength : 64
PrefixOrigin : WellKnown
SuffixOrigin : Link
AddressState : Deprecated
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : ::1
InterfaceIndex : 1
InterfaceAlias : Loopback Pseudo-Interface 1
AddressFamily : IPv6
Type : Unicast
PrefixLength : 128
PrefixOrigin : WellKnown
SuffixOrigin : WellKnown
AddressState : Preferred
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : fe80::448a:aa75:6873:a52b%17
InterfaceIndex : 17
InterfaceAlias : Local Area Connection* 2
AddressFamily : IPv6
Type : Unicast
PrefixLength : 64
PrefixOrigin : WellKnown
SuffixOrigin : Link
AddressState : Deprecated
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : fe80::9969:748b:69fd:4875%15
InterfaceIndex : 15
InterfaceAlias : Wireless Network Connection
AddressFamily : IPv6
Type : Unicast
PrefixLength : 64
PrefixOrigin : WellKnown
SuffixOrigin : Link
AddressState : Preferred
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : 169.254.94.74
InterfaceIndex : 7
InterfaceAlias : Local Area Connection
AddressFamily : IPv4
Type : Unicast
PrefixLength : 16
PrefixOrigin : WellKnown
SuffixOrigin : Link
AddressState : Tentative
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : 10.0.75.1
InterfaceIndex : 47
InterfaceAlias : vEthernet (DockerNAT)
AddressFamily : IPv4
Type : Unicast
PrefixLength : 24
PrefixOrigin : Manual
SuffixOrigin : Manual
AddressState : Preferred
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : 169.254.111.35
InterfaceIndex : 12
InterfaceAlias : vEthernet (External Wired Switch)
AddressFamily : IPv4
Type : Unicast
PrefixLength : 16
PrefixOrigin : WellKnown
SuffixOrigin : Link
AddressState : Tentative
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : 169.254.31.105
InterfaceIndex : 8
InterfaceAlias : Local Area Connection* 4
AddressFamily : IPv4
Type : Unicast
PrefixLength : 16
PrefixOrigin : WellKnown
SuffixOrigin : Link
AddressState : Tentative
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : 169.254.151.19
InterfaceIndex : 11
InterfaceAlias : Bluetooth Network Connection
AddressFamily : IPv4
Type : Unicast
PrefixLength : 16
PrefixOrigin : WellKnown
SuffixOrigin : Link
AddressState : Tentative
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : 127.0.0.1
InterfaceIndex : 1
InterfaceAlias : Loopback Pseudo-Interface 1
AddressFamily : IPv4
Type : Unicast
PrefixLength : 8
PrefixOrigin : WellKnown
SuffixOrigin : WellKnown
AddressState : Preferred
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : 169.254.165.43
InterfaceIndex : 17
InterfaceAlias : Local Area Connection* 2
AddressFamily : IPv4
Type : Unicast
PrefixLength : 16
PrefixOrigin : WellKnown
SuffixOrigin : Link
AddressState : Tentative
ValidLifetime : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource : False
PolicyStore : ActiveStore

IPAddress : 192.168.19.128
InterfaceIndex : 15
InterfaceAlias : Wireless Network Connection
AddressFamily : IPv4
Type : Unicast
PrefixLength : 24
PrefixOrigin : Dhcp
SuffixOrigin : Dhcp
AddressState : Preferred
ValidLifetime : 23:50:15
PreferredLifetime : 23:50:15
SkipAsSource : False
PolicyStore : ActiveStore

netstat -abno

Active Connections

Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4
Can not obtain ownership information
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 116
RpcSs
[svchost.exe]
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
Can not obtain ownership information
TCP 0.0.0.0:623 0.0.0.0:0 LISTENING 7504
[LMS.exe]
TCP 0.0.0.0:1801 0.0.0.0:0 LISTENING 2776
[mqsvc.exe]
TCP 0.0.0.0:2103 0.0.0.0:0 LISTENING 2776
[mqsvc.exe]
TCP 0.0.0.0:2105 0.0.0.0:0 LISTENING 2776
[mqsvc.exe]
TCP 0.0.0.0:2107 0.0.0.0:0 LISTENING 2776
[mqsvc.exe]
TCP 0.0.0.0:2179 0.0.0.0:0 LISTENING 2392
[vmms.exe]
TCP 0.0.0.0:2869 0.0.0.0:0 LISTENING 4
Can not obtain ownership information
TCP 0.0.0.0:5357 0.0.0.0:0 LISTENING 4
Can not obtain ownership information
TCP 0.0.0.0:7680 0.0.0.0:0 LISTENING 580
DoSvc
[svchost.exe]
TCP 0.0.0.0:8092 0.0.0.0:0 LISTENING 4
Can not obtain ownership information
TCP 0.0.0.0:16992 0.0.0.0:0 LISTENING 7504
[LMS.exe]
TCP 0.0.0.0:49664 0.0.0.0:0 LISTENING 748
Can not obtain ownership information
TCP 0.0.0.0:49665 0.0.0.0:0 LISTENING 1260
EventLog
[svchost.exe]
TCP 0.0.0.0:49666 0.0.0.0:0 LISTENING 580
Schedule
[svchost.exe]
TCP 0.0.0.0:49667 0.0.0.0:0 LISTENING 2156
[spoolsv.exe]
TCP 0.0.0.0:49669 0.0.0.0:0 LISTENING 2776
[mqsvc.exe]
TCP 0.0.0.0:49670 0.0.0.0:0 LISTENING 820
Can not obtain ownership information
TCP 0.0.0.0:49677 0.0.0.0:0 LISTENING 832
[lsass.exe]
TCP 10.0.75.1:139 0.0.0.0:0 LISTENING 4
Can not obtain ownership information
TCP 127.0.0.1:43227 0.0.0.0:0 LISTENING 1720
[mbamservice.exe]
TCP 127.0.0.1:49831 0.0.0.0:0 LISTENING 7256
[UNS.exe]
TCP 192.168.19.128:139 0.0.0.0:0 LISTENING 4
Can not obtain ownership information
TCP 192.168.19.128:2869 192.168.19.1:53619 TIME_WAIT 0
TCP 192.168.19.128:2869 192.168.19.1:53620 TIME_WAIT 0
TCP 192.168.19.128:2869 192.168.19.1:53621 TIME_WAIT 0
TCP 192.168.19.128:2869 192.168.19.1:53622 TIME_WAIT 0
TCP 192.168.19.128:2869 192.168.19.1:53623 TIME_WAIT 0
TCP 192.168.19.128:2869 192.168.19.1:53624 TIME_WAIT 0
TCP 192.168.19.128:2869 192.168.19.1:53625 TIME_WAIT 0
TCP 192.168.19.128:2869 192.168.19.1:53626 TIME_WAIT 0
TCP 192.168.19.128:2869 192.168.19.1:53627 TIME_WAIT 0
TCP 192.168.19.128:2869 192.168.19.1:53628 TIME_WAIT 0
TCP 192.168.19.128:2869 192.168.19.1:53629 TIME_WAIT 0
TCP 192.168.19.128:2869 192.168.19.1:54398 TIME_WAIT 0
TCP 192.168.19.128:2869 192.168.19.1:54399 TIME_WAIT 0
TCP 192.168.19.128:50080 192.168.19.101:80 TIME_WAIT 0
TCP 192.168.19.128:50083 192.168.19.1:1990 TIME_WAIT 0
TCP 192.168.19.128:50084 192.168.19.40:65001 TIME_WAIT 0
TCP 192.168.19.128:50085 192.168.19.40:65001 TIME_WAIT 0
TCP 192.168.19.128:50086 64.71.168.202:443 CLOSE_WAIT 7888
[microsoftedgecp.exe]
TCP 192.168.19.128:50087 192.168.19.40:65001 TIME_WAIT 0
TCP 192.168.19.128:50088 192.168.19.40:65001 TIME_WAIT 0
TCP 192.168.19.128:50091 64.71.168.202:443 ESTABLISHED 5652
[microsoftedgecp.exe]
TCP [::]:80 [::]:0 LISTENING 4
Can not obtain ownership information
TCP [::]:135 [::]:0 LISTENING 116
RpcSs
[svchost.exe]
TCP [::]:445 [::]:0 LISTENING 4
Can not obtain ownership information
TCP [::]:623 [::]:0 LISTENING 7504
[LMS.exe]
TCP [::]:1801 [::]:0 LISTENING 2776
[mqsvc.exe]
TCP [::]:2103 [::]:0 LISTENING 2776
[mqsvc.exe]
TCP [::]:2105 [::]:0 LISTENING 2776
[mqsvc.exe]
TCP [::]:2107 [::]:0 LISTENING 2776
[mqsvc.exe]
TCP [::]:2179 [::]:0 LISTENING 2392
[vmms.exe]
TCP [::]:2869 [::]:0 LISTENING 4
Can not obtain ownership information
TCP [::]:5357 [::]:0 LISTENING 4
Can not obtain ownership information
TCP [::]:7680 [::]:0 LISTENING 580
DoSvc
[svchost.exe]
TCP [::]:8092 [::]:0 LISTENING 4
Can not obtain ownership information
TCP [::]:16992 [::]:0 LISTENING 7504
[LMS.exe]
TCP [::]:49664 [::]:0 LISTENING 748
Can not obtain ownership information
TCP [::]:49665 [::]:0 LISTENING 1260
EventLog
[svchost.exe]
TCP [::]:49666 [::]:0 LISTENING 580
Schedule
[svchost.exe]
TCP [::]:49667 [::]:0 LISTENING 2156
[spoolsv.exe]
TCP [::]:49669 [::]:0 LISTENING 2776
[mqsvc.exe]
TCP [::]:49670 [::]:0 LISTENING 820
Can not obtain ownership information
TCP [::]:49677 [::]:0 LISTENING 832
[lsass.exe]
TCP [::1]:49668 [::]:0 LISTENING 3000
[jhi_service.exe]
TCP [::1]:49827 [::1]:49829 ESTABLISHED 7504
[LMS.exe]
TCP [::1]:49829 [::1]:49827 ESTABLISHED 7504
[LMS.exe]
TCP [::1]:50090 [::1]:5357 TIME_WAIT 0
UDP 0.0.0.0:123 : 1368
W32Time
[svchost.exe]
UDP 0.0.0.0:3702 : 1368

netstat -rs

IPv4 Statistics
IPv6 Statistics
ICMPv4 Statistics

ICMPv6 Statistics
TCP Statistics for IPv6

===========================================================================
Interface List
7…a0 b3 cc 23 88 73 …Intel(R) 82579LM Gigabit Network Connection
12…a0 b3 cc 23 88 73 …Hyper-V Virtual Ethernet Adapter
47…00 15 5d 00 00 00 …Hyper-V Virtual Ethernet Adapter #2
17…24 77 03 8f 7c b1 …Microsoft Wi-Fi Direct Virtual Adapter
8…26 77 03 8f 7c b1 …Microsoft Hosted Network Virtual Adapter
15…24 77 03 8f 7c b0 …Intel(R) Centrino(R) Ultimate-N 6300 AGN
11…c0 18 85 ab 09 b6 …Bluetooth Device (Personal Area Network)
1…Software Loopback Interface 1
4…00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
2…00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4
6…00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface

IPv4 Route Table

Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.19.1 192.168.19.128 25
10.0.75.0 255.255.255.0 On-link 10.0.75.1 261
10.0.75.1 255.255.255.255 On-link 10.0.75.1 261
10.0.75.255 255.255.255.255 On-link 10.0.75.1 261
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.19.0 255.255.255.0 On-link 192.168.19.128 281
192.168.19.128 255.255.255.255 On-link 192.168.19.128 281
192.168.19.255 255.255.255.255 On-link 192.168.19.128 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.19.128 281
224.0.0.0 240.0.0.0 On-link 10.0.75.1 261
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.19.128 281
255.255.255.255 255.255.255.255 On-link 10.0.75.1 261

Persistent Routes:
None

IPv6 Route Table
:

net share
New connections will be remembered.

There are no entries in the list.

I have been unsuccessful getting Docker for Windows (the last 3 betas) at all. Docker for Mac — no problem. This is a laptop that has been upgraded from Win7 to Windows10 [ as indicated in debug output above]

Steps to reproduce the behavior

  1. I have tried the update…no success.
  2. I tried removing docker and removing HyperV…no success.
  3. Started over from scratch and let the Docker for Windows installation create/instantiate the HyperV role…still no success.
    4 Something about the “Switch” makes this unsuccessful even after trying some excellent suggestions from others on an earlier attempt.
  4. The result is that the swtch actually gets created in HyperV but the installation fails and the MobyVM is never created.
    Here is the output of the logs:
    [13:41:51.827][Program ][Info ] Version 1.11.1-beta10 (build: 2446)

    …, abbreviated due to 32000 character limit

[13:42:01.354][HyperV ][Info ] Enabled workaround for Build 10586 VMSwitch issue
[13:42:06.289][HyperV ][Info ] Creating Switch: DockerNAT…
[13:42:07.554][HyperV ][Info ] Switch created.
[13:42:07.789][HyperV ][Info ] Set IP address on switch
[13:42:07.851][HyperV ][Info ] Creating Net NAT: DockerNAT…
[13:42:07.929][Notifications ][Error ] Error: Failed to create Switch “DockerNAT”: The parameter is incorrect…
[13:42:16.121][Program ][Info ] Sending Bugsnag report a62d0dfb-c5fc-4933-a894-c90b803ce608 …
[13:42:16.497][Program ][Info ] Bugsnag report sent

1 Like

Hi,
I faced the same issue.
Disabling antivirus helped to create the virtual switch when running for the first time.

After that docker started to use the existing switch.

I faced the same problem.
After I restard my PC all go normal.

I tried both suggestions. Turned off Malwarebytes and it didn’t help at all. Even tried to “remove the DockerNAT” and have it get recreated…nothing helps.

Still unable to get it successfully installed.

I have the same problem on Windows 10.0.10586.

What I can see in my log is this:

[12:16:24.275][PowerShell     ][Info   ] Run script...
[12:16:24.275][Updater        ][Info   ] Checking for updates on the Beta channel...
[12:16:25.331][Updater        ][Info   ] Found remote version. Version = 1.11.1.2446
[12:16:25.331][Updater        ][Info   ] Local version is up to date.
[12:16:25.331][Updater        ][Info   ] Check for update done.
[12:16:25.763][Firewall       ][Info   ] Ports are opened
[12:16:25.763][HyperV         ][Info   ] Create
[12:16:25.763][PowerShell     ][Info   ] Run script with parameters: -Create True -CPUs 2 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\mobylinux.iso...
[12:16:26.409][HyperV         ][Info   ] Using existing Switch: DockerNAT
[12:16:26.641][HyperV         ][Info   ] Using existing Switch IP address
[12:16:26.679][HyperV         ][Info   ] Creating Net NAT: DockerNAT...
[12:16:26.742][Notifications  ][Error  ] Error: Failed to create Switch "DockerNAT": The parameter is incorrect.. 

The virtual switch already exists - why is it trying to create it again?

I 've uninstalled the beta version, deleted VM, .vhd disk and virtual switch and install it again. The problem remains…

Taking the investigation about the error, a little bit further:

I tried to create the host from command line (Powershell with elevated rights):

PS C:\Program Files\Docker\Docker\resources> .\MobyLinux.ps1 -IsoFile:.\mobylinux.iso -Create
Enabled workaround for Build 10586 VMSwitch issue
Creating Switch: DockerNAT...
Switch created.
Set IP address on switch
Creating Net NAT: DockerNAT...
New-NetNat : The parameter is incorrect.
At C:\Program Files\Docker\Docker\resources\MobyLinux.ps1:190 char:19
+         $newNet = New-NetNat -Name $SwitchName `
+                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (MSFT_NetNat:root/StandardCimv2/MSFT_NetNat) [New-NetNat], CimException
    + FullyQualifiedErrorId : Windows System Error 87,New-NetNat

Net NAT created.
Creading dynamic VHD: C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx
Creating VM MobyLinuxVM...
VM created.

On the MobyLinux.ps1 script line 190 it says:

  • $newNet = New-NetNat -Name $SwitchName -InternalIPInterfaceAddressPrefix “$global:NATSubnetAddress”

This is the line that produces the error:

  • On the online documentation (https://technet.microsoft.com/en-us/library/dn283361(v=wps.630).aspx) there is no reference on ‘InternalIPInterfaceAddressPrefix’ parameter, but documentation is targeting Windows 8.1/Windows Server 2012 R2.
  • Checking New-NetNat commandlet on Windows 10, it supports parameter 'InternalIPInterfaceAddressPrefix '. Although, I have not managed to retrieve help for Windows 10 version of the commandlet. In the documentation I found ‘ExternalIPInterfaceAddressPrefix’ parameter is required. What happens on Windows 10?

We recently updated the troubleshoot page with how to deal with some networking issues. Could you try the steps outlined there?

Thanks
Rolf