From 7e884c6cd024e31fc510451feb177bb4689c1815 Mon Sep 17 00:00:00 2001 From: John Starks Date: Tue, 1 Mar 2016 18:25:04 -0800 Subject: [PATCH] Windows: Default to npipe transport This changes the default transport for Windows from unencrypted TCP to npipe. This is similar to how Linux runs with the unix socket transport by default. Signed-off-by: John Starks --- opts/hosts_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opts/hosts_windows.go b/opts/hosts_windows.go index ec52e9a70a..7c239e00f1 100644 --- a/opts/hosts_windows.go +++ b/opts/hosts_windows.go @@ -3,4 +3,4 @@ package opts // DefaultHost constant defines the default host string used by docker on Windows -var DefaultHost = DefaultTCPHost +var DefaultHost = "npipe://" + DefaultNamedPipe