mirror of
https://github.com/moby/moby.git
synced 2026-07-24 16:26:51 +00:00
Fix daemon failed to start with error "layer does not exist"
Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user