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 <jostarks@microsoft.com>
This commit is contained in:
John Starks 2016-03-01 18:25:04 -08:00 committed by Vincent Demeester
parent 2b140819b3
commit 6ad28f55d5
1 changed files with 1 additions and 1 deletions

View File

@ -3,4 +3,4 @@
package opts package opts
// DefaultHost constant defines the default host string used by docker on Windows // DefaultHost constant defines the default host string used by docker on Windows
var DefaultHost = DefaultTCPHost var DefaultHost = "npipe://" + DefaultNamedPipe