mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add a log message when the storage driver is overriden through the environment
Signed-off-by: Jérôme Petazzoni <jerome.petazzoni@gmail.com>
This commit is contained in:
parent
a14f06a865
commit
84aefe8697
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue