From 84aefe869786f48151e76504746d576e6d377d79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Thu, 20 Jul 2017 17:38:34 +0200 Subject: [PATCH] Add a log message when the storage driver is overriden through the environment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Petazzoni --- daemon/daemon.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon/daemon.go b/daemon/daemon.go index 93d871d6df..408e504d53 100644 --- a/daemon/daemon.go +++ b/daemon/daemon.go @@ -620,6 +620,8 @@ func NewDaemon(config *config.Config, registryService registry.Service, containe driverName := os.Getenv("DOCKER_DRIVER") if driverName == "" { driverName = config.GraphDriver + } else { + logrus.Infof("Setting the storage driver from the $DOCKER_DRIVER environment variable (%s)", driverName) } d.stores[runtime.GOOS] = daemonStore{graphDriver: driverName} // May still be empty. Layerstore init determines instead. }