Signed-off-by: Jérôme Petazzoni <jerome.petazzoni@gmail.com>
Jérôme Petazzoni authored on 2017/07/21 00:38:34... | ... |
@@ -620,6 +620,8 @@ func NewDaemon(config *config.Config, registryService registry.Service, containe |
620 | 620 |
driverName := os.Getenv("DOCKER_DRIVER") |
621 | 621 |
if driverName == "" { |
622 | 622 |
driverName = config.GraphDriver |
623 |
+ } else { |
|
624 |
+ logrus.Infof("Setting the storage driver from the $DOCKER_DRIVER environment variable (%s)", driverName) |
|
623 | 625 |
} |
624 | 626 |
d.stores[runtime.GOOS] = daemonStore{graphDriver: driverName} // May still be empty. Layerstore init determines instead. |
625 | 627 |
} |