diff --git a/cli/config/credentials/default_store_linux.go b/cli/config/credentials/default_store_linux.go index 8e51385943..9b619c0279 100644 --- a/cli/config/credentials/default_store_linux.go +++ b/cli/config/credentials/default_store_linux.go @@ -1,5 +1,13 @@ package credentials +import ( + "github.com/docker/docker-credential-helpers/pass" +) + func defaultCredentialsStore() string { + if pass.PassInitialized { + return "pass" + } + return "secretservice" }