From 32e08e77003ff897ca7392e2777f4fa395e62313 Mon Sep 17 00:00:00 2001 From: Madhu Venugopal Date: Thu, 14 Jul 2016 16:48:16 -0700 Subject: [PATCH] Moving the UDS file out of /var/lib/docker and into /run/ the UDS sock is an unique file and the lifetime of it is until the docker daemon dies (gracefully). Hence there is no need for it to be under /var/lib and not mandatory to be configurable either. Signed-off-by: Madhu Venugopal --- libnetwork/sandbox_externalkey_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnetwork/sandbox_externalkey_unix.go b/libnetwork/sandbox_externalkey_unix.go index a57bb8e371..4a7ac06b59 100644 --- a/libnetwork/sandbox_externalkey_unix.go +++ b/libnetwork/sandbox_externalkey_unix.go @@ -15,7 +15,7 @@ import ( "github.com/opencontainers/runc/libcontainer/configs" ) -const udsBase = "/var/lib/docker/network/files/" +const udsBase = "/run/docker/libnetwork/" const success = "success" // processSetKeyReexec is a private function that must be called only on an reexec path