Przeglądaj źródła

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)
Dan Walsh 10 lat temu
rodzic
commit
96a4469835
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      daemon/daemon.go

+ 1 - 1
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)
 	repositories, err := graph.NewTagStore(filepath.Join(config.Root, "repositories-"+d.driver.String()), tagCfg)
 	if err != nil {
 	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)
 	d.netController, err = initNetworkController(config)