diff --git a/daemon/daemon_windows.go b/daemon/daemon_windows.go index 85a1d43ed596c4aec892472c7746e7d0eedac2f7..4619fdb0e8267af13fa00fcde3a9c4baa9e391f2 100644 --- a/daemon/daemon_windows.go +++ b/daemon/daemon_windows.go @@ -223,8 +223,7 @@ func verifyDaemonSettings(config *config.Config) error { func checkSystem() error { // Validate the OS version. Note that dockerd.exe must be manifested for this // call to return the correct version. - osv := system.GetOSVersion() - if osv.MajorVersion < 10 { + if osversion.Get().MajorVersion < 10 { return fmt.Errorf("This version of Windows does not support the docker daemon") } if osversion.Build() < osversion.RS1 {