Sfoglia il codice sorgente

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 anni fa
parent
commit
96a4469835
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)
 	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)