Signed-off-by: Sandeep Bansal <sabansal@microsoft.com>
| ... | ... |
@@ -9,7 +9,6 @@ import ( |
| 9 | 9 |
"github.com/docker/docker/container" |
| 10 | 10 |
"github.com/docker/docker/layer" |
| 11 | 11 |
"github.com/docker/docker/libcontainerd" |
| 12 |
- "github.com/docker/docker/pkg/system" |
|
| 13 | 12 |
"golang.org/x/sys/windows/registry" |
| 14 | 13 |
) |
| 15 | 14 |
|
| ... | ... |
@@ -32,12 +31,6 @@ func (daemon *Daemon) getLibcontainerdCreateOptions(container *container.Contain |
| 32 | 32 |
} |
| 33 | 33 |
|
| 34 | 34 |
dnsSearch := daemon.getDNSSearchSettings(container) |
| 35 |
- if dnsSearch != nil {
|
|
| 36 |
- osv := system.GetOSVersion() |
|
| 37 |
- if osv.Build < 14997 {
|
|
| 38 |
- return nil, fmt.Errorf("dns-search option is not supported on the current platform")
|
|
| 39 |
- } |
|
| 40 |
- } |
|
| 41 | 35 |
|
| 42 | 36 |
// Generate the layer folder of the layer options |
| 43 | 37 |
layerOpts := &libcontainerd.LayerOption{}
|