1
0
mirror of https://github.com/docker/cli.git synced 2026-01-16 20:22:36 +03:00

If a user hits this error it would be helpful to know tagstore name.

There are several bug reports on this error happening, and error is
not helpful unless you read the code.  Google brings up removing
the repositories.btrfs file.

Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)
Upstream-commit: 96a4469835c68e0b9c448344777fbff077b514ea
Component: engine
This commit is contained in:
Dan Walsh
2015-07-21 09:24:55 -04:00
parent 320928e0b8
commit 81dcb09562

View File

@@ -686,7 +686,7 @@ func NewDaemon(config *Config, registryService *registry.Service) (daemon *Daemo
}
repositories, err := graph.NewTagStore(filepath.Join(config.Root, "repositories-"+d.driver.String()), tagCfg)
if err != nil {
return nil, fmt.Errorf("Couldn't create Tag store: %s", err)
return nil, fmt.Errorf("Couldn't create Tag store %s: %s", "repositories-"+d.driver.String(), err)
}
d.netController, err = initNetworkController(config)