From 6ad28f55d580a4e9cc870972b0b3a28bfb596aa2 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 ec52e9a70..7c239e00f 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