From 7e7c155f15cd0c7108e52b832a6493d40aa54b41 Mon Sep 17 00:00:00 2001 From: John Starks Date: Tue, 1 Mar 2016 14:31:16 -0800 Subject: [PATCH] Windows: Default to npipe transport Signed-off-by: John Starks --- client/{client_nounix.go => client_darwin.go} | 2 -- client/client_windows.go | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) rename client/{client_nounix.go => client_darwin.go} (84%) create mode 100644 client/client_windows.go diff --git a/client/client_nounix.go b/client/client_darwin.go similarity index 84% rename from client/client_nounix.go rename to client/client_darwin.go index d07ab84..4b47a17 100644 --- a/client/client_nounix.go +++ b/client/client_darwin.go @@ -1,5 +1,3 @@ -// +build windows darwin - package client // DefaultDockerHost defines os specific default if DOCKER_HOST is unset diff --git a/client/client_windows.go b/client/client_windows.go new file mode 100644 index 0000000..07c0c7a --- /dev/null +++ b/client/client_windows.go @@ -0,0 +1,4 @@ +package client + +// DefaultDockerHost defines os specific default if DOCKER_HOST is unset +const DefaultDockerHost = "npipe:////./pipe/docker_engine"