for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Docker CE for Windows does not install on Windows 10 Pro

Open daniel-leicht opened this issue 9 years ago • 43 comments

Expected behavior

Docker CE for Windows should install on Windows 10 Pro

Actual behavior

Docker CE for Windows says "Docker for Windows requires Windows 10 Pro or Enterprise version 10586, or Windows server 2016 RTM to run" even though my system does run Windows 10 Pro.

Information

I downloaded the most recent Stable version (as of 29.10.2017). The output of "Get-WmiObject Win32_OperatingSystem | fl *" is:

PSComputerName                            : DESKTOP-IH5GHC4
Status                                    : OK
Name                                      : Microsoft Windows 10 Pro|C:\Windows|\Device\Harddisk0\Partition2
FreePhysicalMemory                        : 3041360
FreeSpaceInPagingFiles                    : 1615764
FreeVirtualMemory                         : 3764856
__GENUS                                   : 2
__CLASS                                   : Win32_OperatingSystem
__SUPERCLASS                              : CIM_OperatingSystem
__DYNASTY                                 : CIM_ManagedSystemElement
__RELPATH                                 : Win32_OperatingSystem=@
__PROPERTY_COUNT                          : 64
__DERIVATION                              : {CIM_OperatingSystem, CIM_LogicalElement, CIM_ManagedSystemElement}
__SERVER                                  : DESKTOP-IH5GHC4
__NAMESPACE                               : root\cimv2
__PATH                                    : \\DESKTOP-IH5GHC4\root\cimv2:Win32_OperatingSystem=@
BootDevice                                : \Device\HarddiskVolume1
BuildNumber                               : 10240
BuildType                                 : Multiprocessor Free
Caption                                   : Microsoft Windows 10 Pro
CodeSet                                   : 1252
CountryCode                               : 1
CreationClassName                         : Win32_OperatingSystem
CSCreationClassName                       : Win32_ComputerSystem
CSDVersion                                :
CSName                                    : DESKTOP-IH5GHC4
CurrentTimeZone                           : 120
DataExecutionPrevention_32BitApplications : True
DataExecutionPrevention_Available         : True
DataExecutionPrevention_Drivers           : True
DataExecutionPrevention_SupportPolicy     : 2
Debug                                     : False
Description                               :
Distributed                               : False
EncryptionLevel                           : 256
ForegroundApplicationBoost                : 2
InstallDate                               : 20170308180105.000000+120
LargeSystemCache                          :
LastBootUpTime                            : 20171029131006.488134+120
LocalDateTime                             : 20171029180940.234000+120
Locale                                    : 0409
Manufacturer                              : Microsoft Corporation
MaxNumberOfProcesses                      : 4294967295
MaxProcessMemorySize                      : 137438953344
MUILanguages                              : {en-US}
NumberOfLicensedUsers                     :
NumberOfProcesses                         : 134
NumberOfUsers                             : 2
OperatingSystemSKU                        : 48
Organization                              :
OSArchitecture                            : 64-bit
OSLanguage                                : 1033
OSProductSuite                            : 256
OSType                                    : 18
OtherTypeDescription                      :
PAEEnabled                                :
PlusProductID                             :
PlusVersionNumber                         :
PortableOperatingSystem                   : False
Primary                                   : True
ProductType                               : 1
RegisteredUser                            : USER
SerialNumber                              : 00180-19311-99535-AAOEM
ServicePackMajorVersion                   : 0
ServicePackMinorVersion                   : 0
SizeStoredInPagingFiles                   : 1638400
SuiteMask                                 : 272
SystemDevice                              : \Device\HarddiskVolume2
SystemDirectory                           : C:\Windows\system32
SystemDrive                               : C:
TotalSwapSpaceSize                        :
TotalVirtualMemorySize                    : 9715652
TotalVisibleMemorySize                    : 8077252
Version                                   : 10.0.10240
WindowsDirectory                          : C:\Windows
Scope                                     : System.Management.ManagementScope
Path                                      : \\DESKTOP-IH5GHC4\root\cimv2:Win32_OperatingSystem=@
Options                                   : System.Management.ObjectGetOptions
ClassPath                                 : \\DESKTOP-IH5GHC4\root\cimv2:Win32_OperatingSystem
Properties                                : {BootDevice, BuildNumber, BuildType, Caption...}
SystemProperties                          : {__GENUS, __CLASS, __SUPERCLASS, __DYNASTY...}
Qualifiers                                : {dynamic, Locale, provider, Singleton...}
Site                                      :
Container                                 :

daniel-leicht avatar Oct 29 '17 16:10 daniel-leicht

Hi @daniel-leicht Running Windows Updates should take care of the issue for you - it looks like you're on an early build of Windows 10 build 10240 - We're in the process of updating the docs, but you need to be on at least build 14393 or later

BuildNumber                               : 10240
BuildType                                 : Multiprocessor Free
Caption                                   : Microsoft Windows 10 Pro 

jasonbivins avatar Oct 30 '17 05:10 jasonbivins

Correct, Windows 10 build 10240 is not supported.

friism avatar Oct 30 '17 15:10 friism

I am on below version, but still get error OS Name Microsoft Windows 10 Enterprise Version 10.0.10586 Build 10586

Docket for Windows 17.09.1-win42 Installation failed: one pre-requisite is not fullfilled

"Docker for Windows requires Windows 10 Pro or Enterprise version 10586, or Windows server 2016 RTM to run"

ramganesh19 avatar Dec 15 '17 03:12 ramganesh19

I am in the same boat as ramganesh19. My machine is running on Windows 10 Version 1511 (OS Build 10586.1176) and Docker install is giving me the same message.

CoolHandDev avatar Dec 15 '17 11:12 CoolHandDev

Same for me. My installed Version: 10.0.10586 Build 10586 And still get that error: "Docker for Windows requires Windows 10 Pro or Enterprise version 10586, or Windows server 2016 RTM to run"

meirkr avatar Dec 17 '17 21:12 meirkr

https://forums.docker.com/t/unable-to-install-docker-on-windows-10/37542 Quote: " It’s seem to be new with the last version. Thus, I went to get an old release (https://docs.docker.com/docker-for-windows/release-notes/#docker-community-edition-17091-ce-win42-2017-12-11-stable14), took the one from the 6th october and it installs fine.

Hope it helps you. Jonathan " That really helps! The direct download link to the one which works: https://download.docker.com/win/stable/13620/Docker%20for%20Windows%20Installer.exe

meirkr avatar Dec 17 '17 21:12 meirkr

Windows 10 Pro and Enterprise are supported, as long as it is BUILD 14393 or greater. 10.0.14393

There are Hyper-V features that Docker relies on that were not added until this build. Please run Windows updates. The old installer had a bug that was causing it to skip some of the pre-requisites checks, it has since been fixed and that is why you're seeing this Warning on install.

jasonbivins avatar Dec 18 '17 17:12 jasonbivins

Happening on:

SystemDirectory : C:\WINDOWS\system32 Organization : Hewlett-Packard BuildNumber : 16299 Version : 10.0.16299

xmariachi avatar Dec 26 '17 08:12 xmariachi

It's still happening even with the build ver. 10.0.15063 installed already. Checked the win. updates already and it's already up to date. Tried to install the following docker version which is supposed to be stable:

Version 17.09.0-ce-win33 (13620) Channel: stable 8c56a3b

When hover over to the docker icon, it says ' Can't Update'. And when tried to manually update it then the following exception gets displayed:

Unable to stop: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The specified module 'Hyper-V' was not loaded because no valid module file was found in any module directory. at , : line 79 at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\HyperV.cs:line 177 at Docker.Backend.ContainerEngine.Linux.DoStop() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 279 at Docker.Backend.ContainerEngine.Linux.Start(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 122 at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.b__0(Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 47 at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 145

Please help.

smartaamee avatar Dec 29 '17 03:12 smartaamee

Hi @smartaamee You're seeing a different error, try running this command to see if there's an issue with Hyper-V Import-Module Hyper-V

jasonbivins avatar Dec 29 '17 15:12 jasonbivins

Hi @jasonbivins Ran that above cmd on PS console but still getting some exceptions:

Import-Module : The specified module 'Hyper-V' was not loaded because no valid module file was found in any module directory. At line:1 char:1

  • Import-Module Hyper-V
  •   + CategoryInfo          : ResourceUnavailable: (Hyper-V:String) [Import-Module], FileNotFoundException
      + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
    
    

Note: My OS ver is: Import-Module : "Win. 10 Home" and have never installed Hyper-V on this OS before.

smartaamee avatar Dec 30 '17 16:12 smartaamee

@smartaamee it's not supported on Windows 10 Home; see https://docs.docker.com/docker-for-windows/install/#what-to-know-before-you-install. Home edition does not have the requirements that Docker for Windows needs to run

thaJeztah avatar Dec 30 '17 17:12 thaJeztah

Ah ok... Sure, that makes perfect sense. Thanks @thaJeztah , appreciated.

smartaamee avatar Dec 30 '17 19:12 smartaamee

Getting the same error as @ramganesh19 and @meirkr - Docker for Windows requires Windows 10 Pro or Enterprise version 10586, or Windows server 2016 RTM to run. How do i resolve it?

knightcube avatar Jan 04 '18 16:01 knightcube

Hello! I have the same problem. Docker for Windows requires Windows 10 Pro or Enterprise version 10586, or Windows server 2016 RTM to run. The version of my Windows is 10 Pro build 10586. I've covered OS updates, but the problem persists. How do i resolve it?

ctelles-cwi avatar Jan 05 '18 12:01 ctelles-cwi

@knightcube @ctelles-cwi The error message in the installer you're running is out of date ; you now need to have windows 10 build 14393 or greater (or windows server 2016) for Docker For Windows. (See https://docs.docker.com/docker-for-windows/install/#what-to-know-before-you-install).

gtardif avatar Jan 07 '18 22:01 gtardif

Anniversary update (14393) breaks other VR apps in my case. I won't install it.

October 6th version didn't make it too, despite I'm with Win 10 Entreprise 1511.10586 Name : Microsoft Windows 10 Entreprise|C:\Windows|\Device\Harddisk1 BuildNumber : 10586 BuildType : Multiprocessor Free Caption : Microsoft Windows 10 Entreprise

Too bad.

j2l avatar Jan 15 '18 12:01 j2l

I'm getting the same error, even though I'm on Windows 10 Pro 10586:

BuildNumber                               : 10586
BuildType                                 : Multiprocessor Free
Caption                                   : Microsoft Windows 10 Pro

In my case, installing 6th october version seems to do the trick (https://download.docker.com/win/stable/13620/Docker%20for%20Windows%20Installer.exe). But I'd really like to have the chance to be updated with the newest versions 😢

lucas-labs avatar Jan 20 '18 02:01 lucas-labs

@lucasnahuel2 That version had a bug that allowed it to skip the prerequisites check You'll need to be on Windows build 14393 or higher https://docs.docker.com/docker-for-windows/install/#what-to-know-before-you-install

jasonbivins avatar Jan 20 '18 02:01 jasonbivins

I have the same error. though I have 10586 build See screenshot

anyfreenick avatar Jan 26 '18 12:01 anyfreenick