diff --git a/daemon/daemon.go b/daemon/daemon.go index 0f47e74174..70633debba 100644 --- a/daemon/daemon.go +++ b/daemon/daemon.go @@ -732,7 +732,7 @@ func NewDaemon(config *Config, registryService *registry.Service) (daemon *Daemo } d.layerStore, err = layer.NewStoreFromOptions(layer.StoreOptions{ StorePath: config.Root, - MetadataStorePathTemplate: filepath.Join(config.Root, "image", "%s"), + MetadataStorePathTemplate: filepath.Join(config.Root, "image", "%s", "layerdb"), GraphDriver: driverName, GraphDriverOptions: config.GraphOptions, UIDMaps: uidMaps,