From 96a4469835c68e0b9c448344777fbff077b514ea Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Tue, 21 Jul 2015 09:24:55 -0400 Subject: [PATCH] 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 (github: rhatdan) --- daemon/daemon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/daemon.go b/daemon/daemon.go index 987b3b69cb..4ee7f2757b 100644 --- a/daemon/daemon.go +++ b/daemon/daemon.go @@ -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)