taschmidt
(Taschmidt)
March 28, 2016, 3:11pm
1
Expected behavior
Create and run docker containers
Actual behavior
Docker machine does show up as running and any docker commands time out.
Information
In the following posts.
Steps to reproduce the behavior
C:\>docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
default - hyperv Unknown
C:\>docker-machine status
C:\>docker images
Error response from daemon: dial tcp 10.0.75.2:2375: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
taschmidt
(Taschmidt)
March 28, 2016, 3:12pm
2
DockerDebugInfo - Part 1:
>>>>>> OS Version
SystemDirectory : C:\Windows\system32
Organization : Microsoft
BuildNumber : 10586
RegisteredUser : tim@schmidthole.com
SerialNumber : 00330-50028-76472-AAOEM
Version : 10.0.10586
>>>>>> Get-VMHost
LogicalProcessorCount : 8
ResourceMeteringSaveInterval : 01:00:00
HostNumaStatus : {TIMS-DELL}
NumaStatus : {}
IovSupport : False
IovSupportReasons : {SR-IOV is not supported on this version of Windows.}
InternalNetworkAdapters : {DockerNAT}
ExternalNetworkAdapters : {}
SupportedVmVersions : {5.0, 6.2, 7.0}
SecureBootTemplates : {MicrosoftWindows, MicrosoftUEFICertificateAuthority}
EnableEnhancedSessionMode : True
FibreChannelWwnn : C003FF0000FFFF00
FibreChannelWwpnMaximum : C003FFA4C6CCFFFF
FibreChannelWwpnMinimum : C003FFA4C6CC0000
MacAddressMaximum : 00155D5436FF
MacAddressMinimum : 00155D543600
NumaSpanningEnabled : True
VirtualHardDiskPath : D:\Hyper-V\Virtual Hard Disks
VirtualMachinePath : C:\ProgramData\Microsoft\Windows\Hyper-V
FullyQualifiedDomainName : WORKGROUP
MemoryCapacity : 17023397888
Name : TIMS-DELL
MaximumStorageMigrations : 2
MaximumVirtualMachineMigrations : 2
UseAnyNetworkForMigration : False
VirtualMachineMigrationAuthenticationType : CredSSP
VirtualMachineMigrationEnabled : False
VirtualMachineMigrationPerformanceOption : TCPIP
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
>>>>>> Get-Process
Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id SI ProcessName
------- ------ ----- ----- ----- ------ -- -- -----------
227 15 4520 20680 ...92 0.16 8428 1 ApplicationFrameHost
146 10 6828 10728 ...94 13.22 8488 0 audiodg
442 201 9992 15664 144 0.20 10212 1 BTStackServer
196 15 4304 13288 122 0.06 9468 1 BTTray
191 11 2168 8772 76 0.16 3412 0 btwdins
142 10 1736 7048 74 0.02 3080 0 BtwRSupportService
188 20 7220 7644 147 1.16 10136 1 CCleaner64
213 17 34584 42152 752 0.53 1208 1 chrome
214 18 43952 53092 774 9.81 1212 1 chrome
213 16 32140 38044 749 0.23 1484 1 chrome
213 16 30708 35076 748 0.20 1616 1 chrome
216 19 46188 56604 785 2.06 1864 1 chrome
213 16 31972 38956 751 0.33 2364 1 chrome
2878 73 107884 173020 558 158.28 3332 1 chrome
240 8 1392 5592 80 0.02 3384 1 chrome
252 22 66044 76592 808 9.69 5472 1 chrome
226 32 152088 158136 885 6.42 5724 1 chrome
218 18 39044 49920 776 1.83 5916 1 chrome
214 17 32328 42228 755 0.33 6048 1 chrome
279 54 322924 338624 1086 21.83 6248 1 chrome
293 29 97824 113808 916 24.58 8024 1 chrome
213 17 35584 43332 761 5.50 9052 1 chrome
293 52 304700 328116 1078 19.22 9608 1 chrome
213 16 30932 38924 749 0.44 9644 1 chrome
376 30 106432 135148 588 129.45 9836 1 chrome
290 25 71652 88088 885 3.77 9912 1 chrome
213 16 31156 37852 750 0.36 10888 1 chrome
267 24 106796 123632 830 136.13 13172 1 chrome
38 3 1708 2932 ...67 0.03 7716 1 cmd
146 11 8724 12088 34935 0.53 9296 1 com.docker.agent
152 10 4284 9920 34939 0.02 1812 1 com.docker.proxy
88 7 10104 8872 ...36 0.02 2068 1 conhost
89 6 1076 4940 ...11 0.02 2536 0 conhost
112 8 1400 6552 ...34 0.05 5684 1 conhost
197 13 12268 17056 ...55 1.11 7648 1 conhost
199 13 11128 16568 ...54 0.94 12336 1 conhost
88 7 10084 8880 ...36 0.02 12932 1 conhost
731 32 13772 31756 399 0.52 8616 1 CSISYNCCLIENT
543 16 1420 4076 ...03 2.17 700 0 csrss
678 25 2548 7912 ...38 7.19 820 1 csrss
492 20 6072 16912 ...26 0.34 2940 0 dasHost
663 29 20060 36656 196 0.36 9924 0 DCCService
143 11 2040 8652 107 0.02 9472 1 DellLaunchUnifyingApp
609 31 22848 41560 217 0.50 8892 0 DellUpService
499 32 54656 54160 428 0.50 8340 1 DellUpTray
147 9 1824 9520 ...95 0.00 7792 0 dllhost
1029 59 109816 133588 460 7.45 12232 1 Docker
373 24 102600 107724 ...70 58.28 1108 1 dwm
160 13 3592 11276 98 0.64 10016 1 E_YATIJJE
82 6 1164 4104 74 0.02 5584 1 esif_assist_64
130 7 1620 6156 64 0.02 3104 0 esif_uf
3158 113 55912 118204 ...59 33.08 6784 1 explorer
222 13 3740 12480 98 0.06 3112 0 GfExperienceService
174 12 1904 392 72 0.02 11868 0 GoogleUpdate
382 28 33220 47448 235 0.83 11720 0 IAStorDataMgrSvc
290 22 24700 34200 273 0.28 11748 1 IAStorIcon
0 0 0 4 0 0 0 Idle
156 9 1644 8060 45 0.02 1660 0 igfxCUIService
178 13 3472 11920 107 0.14 7016 1 igfxEM
113 9 2012 8676 61 0.05 7028 1 igfxHK
152 11 3192 10772 101 0.33 7048 1 igfxTray
170 11 2008 7436 72 0.08 3476 0 iked
127 9 1624 6824 41 0.05 2864 0 IntelCpHeciSvc
246 18 3452 14912 122 0.09 3832 1 ipseca
105 9 1276 5180 34 0.05 3188 0 ipsecd
102 8 1088 5396 32 0.02 4972 0 jhi_service
118 9 1264 6588 78 0.00 8900 1 jusched
381 26 4792 14972 86 0.58 8744 0 LMS
1511 28 8348 21616 ...46 3.88 892 0 lsass
1377 44 70032 67768 ...70 12.92 628 1 mmc
259 12 3044 10280 ...95 0.11 10008 0 MpCmdRun
716 70 120628 109680 ...10 61.92 3388 0 MsMpEng
770 34 14336 33700 422 0.91 9980 1 MSOSYNC
268 16 4980 18516 ...68 0.17 10352 1 NetworkUXBroker
290 24 13004 8152 ...14 1.30 4944 0 NisSrv
278 20 14012 21656 178 2.20 6548 1 NvBackend
258 14 3376 9756 66 0.09 3120 0 NvNetworkService
129 9 2620 6788 40 0.61 1584 0 nvSCPAPISvr
581 36 10172 18624 167 0.84 4116 0 NvStreamNetworkService
222 15 4876 13208 93 0.19 3240 0 NvStreamService
542 28 22960 35808 199 2.19 5596 1 NvStreamUserAgent
180 15 3656 12596 118 0.22 8596 1 nvtray
175 9 2368 9144 74 0.30 1560 0 nvvsvc
222 15 5396 14876 126 0.11 1852 1 nvvsvc
297 18 7768 20960 136 0.63 1844 1 nvxdsync
680 25 35664 49700 210 1.34 3256 0 OfficeClickToRun
718 39 26488 45616 207 39.08 9788 1 OneDrive
116 8 2008 444 89 0.00 6012 1 openvpn-gui
919 40 108940 131308 ...33 9.06 9312 1 powershell
198 26 25920 19464 522 0.06 6768 0 PresentationFontCache
693 43 59856 73208 458 1.28 8716 1 pushbullet_client
265 14 5656 2776 117 0.03 2596 1 RAVBg64
256 14 5884 13280 119 0.19 2724 1 RAVBg64
252 14 5688 12716 115 0.09 2744 1 RAVBg64
287 16 9100 16632 127 0.13 9884 1 RAVBg64
305 19 10600 12492 ...08 0.48 6164 1 RemindersServer
199 8 1524 6664 65 0.03 1528 0 RtkAudioService64
347 16 5196 13624 133 0.11 9436 1 RtkNGUI64
129 10 4516 6900 144 0.02 11960 1 rundll32
566 36 13452 42636 ...52 8.75 5768 1 RuntimeBroker
767 78 41128 43236 ...73 6.44 7556 0 SearchIndexer
1225 136 119440 185036 ...20 6.63 7284 1 SearchUI
366 10 3644 7392 ...75 1.05 884 0 services
469 23 9812 8368 ...93 1.56 8320 1 SettingSyncHost
988 38 26236 76540 ...38 4.92 6668 1 ShellExperienceHost
414 14 5832 22568 ...58 1.28 5872 1 sihost
368 42 192592 223568 1128 21.53 920 1 slack
869 57 101932 129800 1410 6.45 8768 1 slack
261 24 89388 93096 447 1.80 10440 1 slack
163 13 4400 10504 186 0.06 10484 1 slack
467 52 108348 133788 1416 2.69 10552 1 slack
315 35 37348 33200 567 0.64 3340 0 SmcController
462 44 42528 52588 629 0.91 8904 1 SmcStart
49 2 364 1180 ...58 0.13 508 0 smss
559 28 8440 18816 ...21 0.53 2356 0 spoolsv
838 192 412236 117588 35541 40.97 3912 0 sqlservr
100 8 1408 6920 40 0.00 2008 0 sqlwriter
744 21 7628 19992 ...34 2.72 96 0 svchost
871 17 5712 10968 ...02 5.63 564 0 svchost
2316 77 34956 62568 ...94 65.06 1048 0 svchost
848 41 9156 21564 ...17 1.61 1056 0 svchost
1038 47 12116 32016 ...04 8.59 1080 0 svchost
957 35 19160 34236 ...91 4.89 1176 0 svchost
1085 52 12164 30076 ...18 1.27 1184 0 svchost
571 30 6804 17848 ...44 0.53 1576 0 svchost
599 47 19292 27632 ...45 5.17 2240 0 svchost
377 23 8636 24576 ...23 1.75 3092 0 svchost
224 31 5608 17548 ...57 2.83 3232 0 svchost
157 10 2068 8172 ...00 0.05 3396 0 svchost
637 34 10144 35996 ...70 1.28 7812 1 svchost
1786 0 128 804 5 95.02 4 0 System
271 15 3700 18640 ...66 0.13 2876 1 SystemSettingsBroker
266 13 2672 12184 ...57 5.70 7968 1 TabTip
58 6 1084 4000 105 0.03 8080 1 TabTip32
354 31 6916 16524 ...93 0.39 5908 1 taskhostw
857 29 29156 47360 ...56 8.78 3436 0 vmms
384 20 38032 19112 ...61 1.52 1028 0 vmwp
97 8 1120 5692 57 0.05 9816 1 WavesSvc64
88 7 1868 5768 31 0.02 2924 0 WavesSysSvc64
87 8 892 4652 ...95 0.03 812 0 wininit
366 14 3548 16412 ...49 0.56 964 1 winlogon
137 9 1856 7064 ...92 0.25 2528 0 wlanext
370 16 8868 18176 ...43 2.28 5456 0 WmiPrvSE
142 10 2296 7896 ...86 0.11 11948 0 WmiPrvSE
383 17 25760 16568 ...63 0.30 1448 0 WUDFHost
239 10 1556 7468 ...97 0.00 2988 0 WUDFHost
>>>>>> Get-VM
Name : MobyLinuxVM
State : Running
CpuUsage : 1
MemoryAssigned : 2147483648
MemoryDemand : 0
MemoryStatus :
Uptime : 00:05:06.9830000
Status : Operating normally
ReplicationState : Disabled
Generation : 2
>>>>>> Get-VMComPort
Path : \\.\pipe\MobyLinuxVM-com1
DebuggerMode : On
Name : COM 1
Id : Microsoft:CC4DB851-AC0D-4AB2-9D37-2767D16943AE\8E3A359F-559A-4B6A-98A9-1690A6100ED7\0
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
VMName : MobyLinuxVM
VMSnapshotId : 00000000-0000-0000-0000-000000000000
VMSnapshotName :
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
VMCheckpointId : 00000000-0000-0000-0000-000000000000
VMCheckpointName :
Path :
DebuggerMode : Off
Name : COM 2
Id : Microsoft:CC4DB851-AC0D-4AB2-9D37-2767D16943AE\8E3A359F-559A-4B6A-98A9-1690A6100ED7\1
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
VMName : MobyLinuxVM
VMSnapshotId : 00000000-0000-0000-0000-000000000000
VMSnapshotName :
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
VMCheckpointId : 00000000-0000-0000-0000-000000000000
VMCheckpointName :
>>>>>> Get-VMDvdDrive
DvdMediaType : ISO
Path : C:\Program Files (x86)\Docker\Docker\Resources\mobylinux.iso
ControllerLocation : 1
ControllerNumber : 0
ControllerType : SCSI
Name : DVD Drive on SCSI controller number 0 at location 1
PoolName : Primordial
Id : Microsoft:CC4DB851-AC0D-4AB2-9D37-2767D16943AE\51AFB8C8-7D7A-4F1F-B7D6-8F11E0FF7CCF\0\1\D
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
VMName : MobyLinuxVM
VMSnapshotId : 00000000-0000-0000-0000-000000000000
VMSnapshotName :
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
VMCheckpointId : 00000000-0000-0000-0000-000000000000
VMCheckpointName :
Directory: C:\Program Files (x86)\Docker\Docker\Resources
Name : mobylinux.iso
Length : 52805632
CreationTime : 3/24/2016 4:04:08 PM
LastWriteTime : 3/24/2016 4:04:08 PM
LastAccessTime : 3/28/2016 9:24:48 AM
Mode : -a----
LinkType :
Target : {}
VersionInfo : File: C:\Program Files (x86)\Docker\Docker\Resources\mobylinux.iso
InternalName:
OriginalFilename:
FileVersion:
FileDescription:
Product:
ProductVersion:
Debug: False
Patched: False
PreRelease: False
PrivateBuild: False
SpecialBuild: False
Language:
Algorithm : SHA256
Hash : A9DB5AD2DD022CA024E49A3EB0F419B25CCD504E3B297A6BE4F2B4388659C9AD
Path : C:\Program Files (x86)\Docker\Docker\Resources\mobylinux.iso
BootOrder : {Drive, Drive, Network}
PreferredNetworkBootProtocol : IPv4
SecureBoot : Off
SecureBootTemplateId : 1734c6e8-3154-4dda-ba5f-a874cc483422
SecureBootTemplate : MicrosoftWindows
ConsoleMode : Default
PauseAfterBootFailure : Off
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
VMName : MobyLinuxVM
VMSnapshotId : 00000000-0000-0000-0000-000000000000
VMSnapshotName :
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
VMCheckpointId : 00000000-0000-0000-0000-000000000000
VMCheckpointName :
Path : D:\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx
DiskNumber :
MaximumIOPS : 0
MinimumIOPS : 0
QoSPolicyID : 00000000-0000-0000-0000-000000000000
SupportPersistentReservations : False
ControllerLocation : 0
ControllerNumber : 0
ControllerType : SCSI
Name : Hard Drive on SCSI controller number 0 at location 0
PoolName : Primordial
Id : Microsoft:CC4DB851-AC0D-4AB2-9D37-2767D16943AE\51AFB8C8-7D7A-4F1F-B7D6-8F11E0FF7CCF\0\0
\D
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
VMName : MobyLinuxVM
VMSnapshotId : 00000000-0000-0000-0000-000000000000
VMSnapshotName :
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
VMCheckpointId : 00000000-0000-0000-0000-000000000000
VMCheckpointName :
Directory: D:\Hyper-V\Virtual Hard Disks
Name : MobyLinuxVM.vhdx
Length : 1782579200
CreationTime : 3/28/2016 9:57:06 AM
LastWriteTime : 3/28/2016 10:01:36 AM
LastAccessTime : 3/28/2016 9:57:06 AM
Mode :
LinkType :
Target : {}
VersionInfo : File: D:\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx
InternalName:
OriginalFilename:
FileVersion:
FileDescription:
Product:
ProductVersion:
Debug: False
Patched: False
PreRelease: False
PrivateBuild: False
SpecialBuild: False
Language:
taschmidt
(Taschmidt)
March 28, 2016, 3:13pm
3
DockerDebugInfo - Part 2:
>>>>>> Get-VMIntegrationService
Enabled : False
OperationalStatus : {Ok}
PrimaryOperationalStatus : Ok
PrimaryStatusDescription : OK
SecondaryOperationalStatus :
SecondaryStatusDescription :
StatusDescription : {OK}
Name : Guest Service Interface
Id : Microsoft:CC4DB851-AC0D-4AB2-9D37-2767D16943AE\6C09BB55-D683-4DA0-8931-C9BF705F6480
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
VMName : MobyLinuxVM
VMSnapshotId : 00000000-0000-0000-0000-000000000000
VMSnapshotName :
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
VMCheckpointId : 00000000-0000-0000-0000-000000000000
VMCheckpointName :
Enabled : True
OperationalStatus : {Ok}
PrimaryOperationalStatus : Ok
PrimaryStatusDescription : OK
SecondaryOperationalStatus :
SecondaryStatusDescription :
StatusDescription : {OK}
Name : Heartbeat
Id : Microsoft:CC4DB851-AC0D-4AB2-9D37-2767D16943AE\84EAAE65-2F2E-45F5-9BB5-0E857DC8EB47
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
VMName : MobyLinuxVM
VMSnapshotId : 00000000-0000-0000-0000-000000000000
VMSnapshotName :
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
VMCheckpointId : 00000000-0000-0000-0000-000000000000
VMCheckpointName :
IsClustered : False
Enabled : True
OperationalStatus : {Ok, ProtocolMismatch}
PrimaryOperationalStatus : Ok
PrimaryStatusDescription : OK
SecondaryOperationalStatus : ProtocolMismatch
SecondaryStatusDescription : The protocol version of the component installed in the virtual machine does not match the
version expected by the hosting system
StatusDescription : {OK, The protocol version of the component installed in the virtual machine does not
match the version expected by the hosting system}
Name : Key-Value Pair Exchange
Id : Microsoft:CC4DB851-AC0D-4AB2-9D37-2767D16943AE\2A34B1C2-FD73-4043-8A5B-DD2159BC743F
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
VMName : MobyLinuxVM
VMSnapshotId : 00000000-0000-0000-0000-000000000000
VMSnapshotName :
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
VMCheckpointId : 00000000-0000-0000-0000-000000000000
VMCheckpointName :
Enabled : True
OperationalStatus : {Ok}
PrimaryOperationalStatus : Ok
PrimaryStatusDescription : OK
SecondaryOperationalStatus :
SecondaryStatusDescription :
StatusDescription : {OK}
Name : Shutdown
Id : Microsoft:CC4DB851-AC0D-4AB2-9D37-2767D16943AE\9F8233AC-BE49-4C79-8EE3-E7E1985B2077
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
VMName : MobyLinuxVM
VMSnapshotId : 00000000-0000-0000-0000-000000000000
VMSnapshotName :
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
VMCheckpointId : 00000000-0000-0000-0000-000000000000
VMCheckpointName :
Enabled : True
OperationalStatus : {Ok}
PrimaryOperationalStatus : Ok
PrimaryStatusDescription : OK
SecondaryOperationalStatus :
SecondaryStatusDescription :
StatusDescription : {OK}
Name : Time Synchronization
Id : Microsoft:CC4DB851-AC0D-4AB2-9D37-2767D16943AE\2497F4DE-E9FA-4204-80E4-4B75C46419C0
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
VMName : MobyLinuxVM
VMSnapshotId : 00000000-0000-0000-0000-000000000000
VMSnapshotName :
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
VMCheckpointId : 00000000-0000-0000-0000-000000000000
VMCheckpointName :
Enabled : True
OperationalStatus : {Ok, ProtocolMismatch}
PrimaryOperationalStatus : Ok
PrimaryStatusDescription : OK
SecondaryOperationalStatus : ProtocolMismatch
SecondaryStatusDescription : The protocol version of the component installed in the virtual machine does not match the
version expected by the hosting system
StatusDescription : {OK, The protocol version of the component installed in the virtual machine does not
match the version expected by the hosting system}
Name : VSS
Id : Microsoft:CC4DB851-AC0D-4AB2-9D37-2767D16943AE\5CED1297-4598-4915-A5FC-AD21BB4D02A4
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
VMName : MobyLinuxVM
VMSnapshotId : 00000000-0000-0000-0000-000000000000
VMSnapshotName :
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
VMCheckpointId : 00000000-0000-0000-0000-000000000000
VMCheckpointName :
>>>>>> Get-VMMemory
ResourcePoolName : Primordial
Buffer : 20
DynamicMemoryEnabled : True
Maximum : 1099511627776
MaximumPerNumaNode : 14696
Minimum : 536870912
Priority : 50
Startup : 2147483648
Name : Memory
Id : Microsoft:CC4DB851-AC0D-4AB2-9D37-2767D16943AE\4764334d-e001-4176-82ee-5594ec9b530e
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
VMName : MobyLinuxVM
VMSnapshotId : 00000000-0000-0000-0000-000000000000
VMSnapshotName :
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
VMCheckpointId : 00000000-0000-0000-0000-000000000000
VMCheckpointName :
>>>>>> Get-VMProcessor
ResourcePoolName : Primordial
Count : 2
CompatibilityForMigrationEnabled : False
CompatibilityForOlderOperatingSystemsEnabled : False
HwThreadCountPerCore : 1
ExposeVirtualizationExtensions : False
Maximum : 100
Reserve : 0
RelativeWeight : 100
MaximumCountPerNumaNode : 8
MaximumCountPerNumaSocket : 1
EnableHostResourceProtection : False
OperationalStatus : {Ok, HostResourceProtectionDisabled}
StatusDescription : {OK, Host resource protection is disabled.}
Name : Processor
Id : Microsoft:CC4DB851-AC0D-4AB2-9D37-2767D16943AE\b637f346-6a0e-4dec-af52-b
d70cb80a21d\0
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
VMName : MobyLinuxVM
VMSnapshotId : 00000000-0000-0000-0000-000000000000
VMSnapshotName :
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
VMCheckpointId : 00000000-0000-0000-0000-000000000000
VMCheckpointName :
>>>>>> Get-VMScsiController
ControllerNumber : 0
IsTemplate : False
Drives : {Hard Drive on SCSI controller number 0 at location 0, DVD Drive on SCSI controller number 0 at
location 1}
Name : SCSI Controller
Id : Microsoft:CC4DB851-AC0D-4AB2-9D37-2767D16943AE\51AFB8C8-7D7A-4F1F-B7D6-8F11E0FF7CCF\0
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
VMName : MobyLinuxVM
VMSnapshotId : 00000000-0000-0000-0000-000000000000
VMSnapshotName :
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
VMCheckpointId : 00000000-0000-0000-0000-000000000000
VMCheckpointName :
>>>>>> Get-VMSecurity
TpmEnabled : False
ShieldingRequested : False
Shielded : False
DataProtectionRequested : False
DataProtected : False
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
>>>>>> Get-VMSwitch
Name : DockerNAT
Id : 9e12d367-9b46-4062-a5b5-a549ad2f7694
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 : TIMS-DELL
IsDeleted : False
>>>>>> Get-VMSwitchExtension
Id : E7C3B2F0-F3C5-48DF-AF2B-10FED6D72E7A
Name : Microsoft Windows Filtering Platform
Vendor : Microsoft
Version : 10.0.10586.0
ExtensionType : Filter
ParentExtensionId :
ParentExtensionName :
SwitchId : 9e12d367-9b46-4062-a5b5-a549ad2f7694
SwitchName : DockerNAT
Enabled : False
Running : True
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
Id : EA24CD6C-D17A-4348-9190-09F0D5BE83DD
Name : Microsoft NDIS Capture
Vendor : Microsoft
Version : 10.0.10586.0
ExtensionType : Monitoring
ParentExtensionId :
ParentExtensionName :
SwitchId : 9e12d367-9b46-4062-a5b5-a549ad2f7694
SwitchName : DockerNAT
Enabled : False
Running : True
CimSession : CimSession: .
ComputerName : TIMS-DELL
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=9E12D367-9B46-4062-A5B5-A549AD2F7694}
CimSession : CimSession: .
ComputerName : TIMS-DELL
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=9E12D367-9B46-4062-A5B5-A549AD2F7694}
CimSession : CimSession: .
ComputerName : TIMS-DELL
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=9E12D367-9B46-4062-A5B5-A549AD2F7694;
VmqCapacity=0; VmqUsage=0}
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
>>>>>> Get-VMNetworkAdapter
Name : Network Adapter
Id : Microsoft:CC4DB851-AC0D-4AB2-9D37-2767D16943AE\CA308FC2-53C0-40AA-ACDB-3C1FF99DA8AF
IsLegacy : False
IsManagementOs : False
ComputerName : TIMS-DELL
VMName : MobyLinuxVM
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
SwitchName : DockerNAT
SwitchId : 9e12d367-9b46-4062-a5b5-a549ad2f7694
Connected : True
PoolName :
MacAddress : 00155D543606
DynamicMacAddressEnabled : True
AllowPacketDirect : False
MacAddressSpoofing : Off
AllowTeaming : Off
RouterGuard : Off
DhcpGuard : Off
StormLimit : 0
PortMirroringMode : None
IeeePriorityTag : Off
VirtualSubnetId : 0
DynamicIPAddressLimit : 0
DeviceNaming : Off
VMQWeight : 100
VMQUsage : 0
IOVWeight : 0
IOVUsage : 0
IovQueuePairsRequested : 1
IovQueuePairsAssigned : 0
IOVInterruptModeration : Default
PacketDirectNumProcs : 0
PacketDirectModerationCount : 0
PacketDirectModerationInterval : 0
IPsecOffloadMaxSA : 512
IPsecOffloadSAUsage : 0
VFDataPathActive : False
MaximumBandwidth :
MinimumBandwidthAbsolute :
MinimumBandwidthWeight :
BandwidthPercentage : 0%
MandatoryFeatureId : {}
MandatoryFeatureName : {}
Status : {Degraded, ProtocolVersion}
IPAddresses : {10.0.75.2, fe80::215:5dff:fe54:3606}
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
VMName : MobyLinuxVM
VMNetworkAdapterName : Network Adapter
Name : Ethernet Switch Port Offload Feature Status
Id : c885bfd1-abb7-418f-8163-9f379c9f7166
ExtensionId : 11EC6134-128A-4A23-B12F-164184B48348
ExtensionName : Microsoft Virtual Ethernet Switch Native Extension
Data : @{Caption=Ethernet Switch Port Offload Feature Status;
CreationClassName=Msvm_EthernetSwitchPortOffloadData; Description=Represents the port offload
feature status data.; DeviceCreationClassName=Msvm_EthernetSwitchPort;
DeviceID=D08B56DA-5838-4D1C-B9A4-1812AA340C73; ElementName=Ethernet Switch Port Offload Feature
Status; InstanceID=; IovOffloadUsage=0; IovQueuePairUsage=0; IovVfDataPathActive=False;
IovVfId=0; IpsecCurrentOffloadSaCount=0; Name=00000000-0000-0000-0000-000000000000;
SystemCreationClassName=Msvm_VirtualEthernetSwitch;
SystemName=9E12D367-9B46-4062-A5B5-A549AD2F7694; VMQId=0; VMQOffloadUsage=0}
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
VMId : cc4db851-ac0d-4ab2-9d37-2767d16943ae
VMName : MobyLinuxVM
VMNetworkAdapterName : Network Adapter
Name : Ethernet Switch Port Bandwidth Feature Status
Id : 24ad3ce1-69bd-4978-b2ac-daad389d699c
ExtensionId : 11EC6134-128A-4A23-B12F-164184B48348
ExtensionName : Microsoft Virtual Ethernet Switch Native Extension
Data : @{Caption=Ethernet Switch Port Bandwidth Feature Status;
CreationClassName=Msvm_EthernetSwitchPortBandwidthData;
CurrentBandwidthReservationPercentage=0; Description=Represents the port bandwidth feature
status data.; DeviceCreationClassName=Msvm_EthernetSwitchPort;
DeviceID=D08B56DA-5838-4D1C-B9A4-1812AA340C73; ElementName=Ethernet Switch Port Bandwidth
Feature Status; InstanceID=; Name=00000000-0000-0000-0000-000000000000;
SystemCreationClassName=Msvm_VirtualEthernetSwitch;
SystemName=9E12D367-9B46-4062-A5B5-A549AD2F7694}
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
Id : c885bfd1-abb7-418f-8163-9f379c9f7166
ExtensionId : 11EC6134-128A-4A23-B12F-164184B48348
ExtensionName : Microsoft Virtual Ethernet Switch Native Extension
Name : Ethernet Switch Port Offload Settings
SettingData : Msvm_EthernetSwitchPortOffloadSettingData: Ethernet Switch Port Offload Settings (InstanceID =
"Microsoft:CC4DB851-AC0D-4AB2-9D37-2767D...)
CimSession : CimSession: .
ComputerName : TIMS-DELL
IsDeleted : False
>>>>>> Get-NetNAT
Name : 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
>>>>>> net share
Share name Resource Remark
-------------------------------------------------------------------------------
C$ C:\ Default share
D$ D:\ Default share
IPC$ Remote IPC
ADMIN$ C:\Windows Remote Admin
The command completed successfully.
friism
(Michael Friis)
March 28, 2016, 3:45pm
4
Hey, thanks for helping us test the beta!
When using Docker for Windows, you’re not expected to use docker-machine for managing local Docker Hosts. This is covered briefly in the getting started guide .
With Docker for Windows, the Docker Host is transparent, and there’s only one local instance (you can still use docker-machine for managing remote hosts).
You can unset the DOCKER_HOST
environment variable - I believe that should default your Docker CLI to use the Docker for Windows host. If you’re using Powershell, here’s how:
Remove-Item Env:\DOCKER_HOST
Let us know if that doesn’t get you going.
taschmidt
(Taschmidt)
March 28, 2016, 4:03pm
5
I didn’t have a DOCKER_HOST env variable set and running where docker
does report:
C:\Program Files (x86)\Docker\Docker\Resources\bin\docker.exe
I’m wondering if some crud from a previous Docker Toolbox install is messing me up. I’m gonna try a reinstall.
Hey Tim,
As Michael said, docker-machine isn’t really in the workflow anymore, but you need to make sure it’s not trying to get in the way. By default, when your machine boots up, unless you’ve set the environment variables, you shouldn’t have anything set. what happens if you say docker info
I haven’t messed much with the powershell cmdlets for managing vms, but as I understand it, we really treat the host through the docker apis, and don’t interact with the VM directly.
try docker-machine env -u | Invoke-Expression to clear out any environment variables. Then, try docker ps.
If you don’t get any response, do you have docker running in the systray (lower right corner).
If you see it, can you select Debug Console? Hit enter, type root for the login. Then try docker ps again.
Steve
taschmidt
(Taschmidt)
March 28, 2016, 5:36pm
7
Dang, I thought I had it figured out. I went and deleted my %userprofile%\.docker
folder (from a previous Docker install) and this time I was able to run docker commands. But then I was trying to troubleshoot why I seemed to have no network access from inside the docker container so I restarted it. Now I can’t run any docker commands again. No matter what I do I get:
Error response from daemon: dial tcp 10.0.75.2:2375: connectex: A connection attempt failed because the connected party
did not properly respond after a period of time, or established connection failed because connected host has failed to r
espond.
@stevelasker , yes I can pull up the debug console and log in but I’m not sure what to try from in there. At your suggestion, I did run the docker-machine env -u
but I got:
Remove-Item : Cannot find path 'Env:\DOCKER_TLS_VERIFY' because it does not exist.
At line:1 char:1
+ Remove-Item Env:\\DOCKER_TLS_VERIFY
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Env:\DOCKER_TLS_VERIFY:String) [Remove-Item], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot find path 'Env:\DOCKER_HOST' because it does not exist.
At line:1 char:1
+ Remove-Item Env:\\DOCKER_HOST
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Env:\DOCKER_HOST:String) [Remove-Item], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot find path 'Env:\DOCKER_CERT_PATH' because it does not exist.
At line:1 char:1
+ Remove-Item Env:\\DOCKER_CERT_PATH
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Env:\DOCKER_CERT_PATH:String) [Remove-Item], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot find path 'Env:\DOCKER_MACHINE_NAME' because it does not exist.
At line:1 char:1
+ Remove-Item Env:\\DOCKER_MACHINE_NAME
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Env:\DOCKER_MACHINE_NAME:String) [Remove-Item], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
taschmidt
(Taschmidt)
March 28, 2016, 5:58pm
8
One additional data point. It keeps complaining that it can’t connect to port 2375 so I tried running netstat -ano | grep 2375
and I got this:
TCP 127.0.0.1:2375 0.0.0.0:0 LISTENING 7096
And PID 7096 does in fact belong to com.docker.proxy.exe.
So I’m not really sure where to go from here?
taschmidt
(Taschmidt)
March 28, 2016, 6:15pm
9
Running docker ps
from INSIDE the debug console does work. So it appears as though my issue is purely a communications issue between my box and the docker daemon.
I should also mention that I have tried turning off Windows Firewall just to rule that out.
taschmidt
(Taschmidt)
March 28, 2016, 6:28pm
10
Can someone enlighten me as to where Docker is getting that IP (10.0.75.2) from? I tried telnet’ing to port 2375 at that address and, as expected, get no response. But if I do 127.0.0.1, it connects right away.
taschmidt
(Taschmidt)
March 28, 2016, 6:34pm
11
Another update: changing the Hyper-V switch back to “internal network” has fixed it so I can run docker commands again. I had changed it to private and external to try to fix network connectivity from inside the docker container.
So now I can run docker commands again, but how do I go about getting external access to work to, say, download base images from hub.docker.com ? If I can just figure that out, I think I’ll be good!
alexandrev
(Alex Vazquez)
March 28, 2016, 6:34pm
12
Hi @taschmidt . No expert or docker employee. Only Docker for Windows beta user. The 10.0.75.2 is the IP the Hyper-V Manager is asigning to the VM that host the docker engine as you can see here:
It’s like there wasn’t anything inside the machine listening at that port. Probably I’m saying something stupid but you said you can run a docker ps inside the machine but as far as I know that is taking care of using the Linux internal sockets, but could you see if the VM machine hast something listeting at that port?
If I run the following command on the VM (Using the Debug Console) I could see a process listening:
Hope that it could be helpful for you!
alexandrev
(Alex Vazquez)
March 28, 2016, 6:40pm
13
Could you ping the 10.0.75.2 IP successfully? What about a tracert command to that IP? I paste you my output so we can find anything different here.
taschmidt
(Taschmidt)
March 28, 2016, 6:42pm
14
Yeah, I can ping it now that I changed the network switch back to internal. Like I said, my only problem now is my docker container doesn’t appear to have any network access. Does yours?
Case in point:
C:\Windows\system32>docker run hello-world
Unable to find image 'hello-world:latest' locally
Pulling repository docker.io/library/hello-world
docker: 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..
alexandrev
(Alex Vazquez)
March 28, 2016, 6:46pm
15
Yes, I can download the images form the docker hub repository. What about the process listening inside the Docker VM? Where do you change the network connection to “internal”? I don’t see the option anywhere…
taschmidt
(Taschmidt)
March 28, 2016, 6:47pm
16
Inside the virtual switch manager from inside the Hyper-V Manager:
alexandrev
(Alex Vazquez)
March 28, 2016, 7:06pm
17
My current configuration is Internal Only as well, so I guess that should be the “default/right” configuration value because I don’t have problem going outside with that configuration.
Could you ping google.com from inside your VM? Something is wrong without your output connection…
alexandrev
(Alex Vazquez)
March 28, 2016, 7:07pm
18
That’s my ip addr output from inside the VM:
alexandrev
(Alex Vazquez)
March 28, 2016, 7:32pm
19
Even could be useful to perform a traceroute inside the machine to an internet target to see in which hop you get stuck.
Could you ping the 10.0.75.1 from the inside of the machine?
taschmidt
(Taschmidt)
March 29, 2016, 5:33pm
20
Here’s the result of ip addr
: