From b8e8dcd6e031d005a2d46d95f84da35b436cd870 Mon Sep 17 00:00:00 2001 From: Sandeep Bansal Date: Thu, 18 May 2017 19:41:06 -0700 Subject: [PATCH] Adding support for DNS search on RS1 Signed-off-by: Sandeep Bansal --- daemon/start_windows.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/daemon/start_windows.go b/daemon/start_windows.go index 0f9739091a..348576981f 100644 --- a/daemon/start_windows.go +++ b/daemon/start_windows.go @@ -9,7 +9,6 @@ import ( "github.com/docker/docker/container" "github.com/docker/docker/layer" "github.com/docker/docker/libcontainerd" - "github.com/docker/docker/pkg/system" "golang.org/x/sys/windows/registry" ) @@ -32,12 +31,6 @@ func (daemon *Daemon) getLibcontainerdCreateOptions(container *container.Contain } dnsSearch := daemon.getDNSSearchSettings(container) - if dnsSearch != nil { - osv := system.GetOSVersion() - if osv.Build < 14997 { - return nil, fmt.Errorf("dns-search option is not supported on the current platform") - } - } // Generate the layer folder of the layer options layerOpts := &libcontainerd.LayerOption{}