From c641668356b0508a855f5bb47570d26bc06d4f6e Mon Sep 17 00:00:00 2001 From: Fabrizio Steiner Date: Mon, 26 Dec 2016 13:26:21 +0100 Subject: [PATCH] NewNativeStore has to be called with the CredentialsStore from the configfile. See also https://github.com/docker/docker/commit/07c4b4124b46be30ea3ac7d114c44c4f911ca182#diff-b082736d194e2fdfc6aca9d0c86a781bL26 --- container/trust.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container/trust.go b/container/trust.go index 6871333..9747528 100644 --- a/container/trust.go +++ b/container/trust.go @@ -87,7 +87,7 @@ func ParseServerAddress(ref string) (string, error) { // on the settings provided in the configuration file. func CredentialsStore(configFile configfile.ConfigFile) credentials.Store { if configFile.CredentialsStore != "" { - return credentials.NewNativeStore(&configFile) + return credentials.NewNativeStore(&configFile, configFile.CredentialsStore) } return credentials.NewFileStore(&configFile) }